do not allow removing default filter „active or archived“

pull/5981/head
Wieland Lindenthal 7 years ago committed by Jens Ulferts
parent 932a074934
commit 7289211c5c
No known key found for this signature in database
GPG Key ID: 3CAA4B1182CF5308
  1. 13
      app/views/projects/index.html.erb

@ -142,11 +142,14 @@ See doc/COPYRIGHT.rdoc for more details.
</div> </div>
<% end %> <% end %>
</div> </div>
<div class="advanced-filters--remove-filter">
<a href="#" class="filter_rem"> <% unless filter.name == :status %>
<op-icon icon-classes="icon-close advanced-filters--remove-filter-icon" icon-title="{{I18n.t('js.button_delete')}}"></op-icon> <div class="advanced-filters--remove-filter">
</a> <a href="#" class="filter_rem">
</div> <op-icon icon-classes="icon-close advanced-filters--remove-filter-icon" icon-title="{{I18n.t('js.button_delete')}}"></op-icon>
</a>
</div>
<% end %>
</li> </li>
<% end %> <% end %>

Loading…
Cancel
Save