forked from bofh/fetsite
Fix SunSpot and minor fix in calentry
This commit is contained in:
@@ -7,7 +7,6 @@
|
||||
<%= link_to res, :class=>:linkbox do %>
|
||||
<%= render :partial=>res.class.to_s.pluralize.downcase+"/nlink", :object=>res %>
|
||||
<% end %>
|
||||
|
||||
</li>
|
||||
<% end %>
|
||||
<% end %>
|
||||
|
||||
@@ -50,7 +50,7 @@ end
|
||||
<%= render ce unless ce.nil? %>
|
||||
<% end %>
|
||||
</div>
|
||||
<div id="calentry_new" ><%= link_to "new Calentry", new_calentry_path(:object_id=>@neuigkeit.id, :object_type=>"Neuigkeit"), :remote=>true %></div>
|
||||
<div id="calentry_new" ><%= link_to "new Calentry", new_calentry_path(:object_id=>@neuigkeit.id, :object_type=>"Neuigkeit"), :remote=>true if can? :edit, @neuigkeit %></div>
|
||||
<%= render 'layouts/pretty_toolbar', :object=> @toolbar_elements %>
|
||||
</div>
|
||||
<%= render partial: 'nlink_list_whole', :object=>@neuigkeit.nlinks %>
|
||||
|
||||
Reference in New Issue
Block a user