calendar show fixed

tabs fixed + ICS Link hinzugefügt
This commit is contained in:
Andreas Stephanides
2013-08-18 17:47:44 +02:00
parent e298674d87
commit 6f6486c7ae
2 changed files with 6 additions and 4 deletions

View File

@@ -1,8 +1,8 @@
<ul class="nav nav-tabs">
<li <%= (request.fullpath == calendars_path)? 'class="active"' : ''%> >
<li <%= (request.fullpath == calendars_path)? 'class="active"'.html_safe : ''%> >
<%= link_to I18n.t 'calendars.alle' , calendars_path %> </li>
<% for c in Calendar.all %>
<li <%= (!@calendar.nil? && c == @calendar) ? 'class="active"' : '' %> title="<%= c.name %>">
<li <%= (!@calendar.nil? && c == @calendar) ? 'class="active"'.html_safe : '' %> title="<%= c.name %>">
<%= link_to c.name, c %>
</li>
<% end %>