diverse hot fixes von der productive Version auf fetruby

This commit is contained in:
2018-05-14 17:56:17 +02:00
parent ee451cdd9b
commit 9f1de3d9d0
8 changed files with 23 additions and 10 deletions

View File

@@ -33,7 +33,7 @@
</div>
</div>
<% unless @calentries.nil? or @calentries.empty? or True%>
<div class="span3">
<% cache("calendar_" + @calentries.map{|c| c.id}.join('') + @calentries.max{|c|c.updated_at.to_i}.updated_at.to_i.to_s+"_"+I18n.locale.to_s+params[:month].to_s+params[:year].to_s) do %>
@@ -42,7 +42,7 @@
<% if !current_user.nil? and current_user.has_role?(:fetuser) %>
<%= link_to calendars_url(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid) , calendars_path(:format=>:ics, :key=>Key.find_or_create(current_user,1).uuid)%>
<% end %>
</div>
</div><% end %>
</div>
</div>
</div>