gremien filter fix + habils inzugefügt

This commit is contained in:
Andreas Stephanides
2014-04-18 13:02:55 +02:00
parent b0448541b2
commit ae350f6d25
3 changed files with 7 additions and 5 deletions

View File

@@ -18,7 +18,7 @@
<% end %>
<li <%= (request.fullpath == fetprofiles_path(filter: "notactive")|| request.fullpath == fetprofiles_path) ? 'class="active"'.html_safe : ''%> >
<li <%= (request.fullpath == fetprofiles_path(filter: "notactive")) ? 'class="active"'.html_safe : ''%> >
<%= link_to I18n.t('profile.notactive_members') , fetprofiles_path( filter: "notactive") %>
</li>

View File

@@ -3,7 +3,9 @@
<h1>Alle Gremien</h1>
<% unless params[:filter].nil? %>
<p><%= Gremium::TEXT[params[:filter]] %></p>
<h1><%= Gremium::FILTER[params[:filter].to_i] %></h1>
<p><%= Gremium::TEXT[params[:filter].to_i] %></p>
<% end %>
<ul class="unstyled fetprofile_list">