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>
<% end %>
</div>
<div class="advanced-filters--remove-filter">
<a href="#" class="filter_rem">
<op-icon icon-classes="icon-close advanced-filters--remove-filter-icon" icon-title="{{I18n.t('js.button_delete')}}"></op-icon>
</a>
</div>
<% unless filter.name == :status %>
<div class="advanced-filters--remove-filter">
<a href="#" class="filter_rem">
<op-icon icon-classes="icon-close advanced-filters--remove-filter-icon" icon-title="{{I18n.t('js.button_delete')}}"></op-icon>
</a>
</div>
<% end %>
</li>
<% end %>

Loading…
Cancel
Save