Skip to content

Commit

Permalink
Added icon support for content
Browse files Browse the repository at this point in the history
  • Loading branch information
cykod committed Mar 30, 2010
1 parent aa4f80a commit 82e852b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/views/content/index.rhtml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<% action_panel :handler => 'content' do |p| -%>
<% @content_actions.each do |act| %>
<% if !act[2][:permit] || myself.has_role?(act[2][:permit]) -%>
<%= p.link act[0], :url => act[1], :icon => 'add.gif' %>
<%= p.link act[0], :url => act[1], :icon => act[2][:icon] || 'add.gif' %>
<% end -%>
<% end -%>
<%= p.link 'Custom Content Models', :action => 'custom', :icon => 'publications.gif' if myself.has_role?('editor_content') %>
Expand Down

0 comments on commit 82e852b

Please sign in to comment.