Commit 7b716ef9f8e927e9a808f87da5001314d3193635

Authored by Antonio Terceiro
1 parent b314b6ea

Use already-defined button names

(ActionItem1488)
app/views/admin_panel/set_portal_community.rhtml
... ... @@ -13,12 +13,12 @@
13 13  
14 14 <% button_bar do %>
15 15 <%if @portal_community.environment.enabled?('use_portal_community') %>
16   - <%= button 'disable', _('Disable'), {:action => 'manage_portal_community', :activate => 0} %>
  16 + <%= button 'cancel', _('Disable'), {:action => 'manage_portal_community', :activate => 0} %>
17 17 <% else %>
18   - <%= button 'enable', _('Enable'), {:action => 'manage_portal_community', :activate => 1} %>
  18 + <%= button 'ok', _('Enable'), {:action => 'manage_portal_community', :activate => 1} %>
19 19 <% end %>
20 20 <%= button 'folder', _('Select Portal Folders'), {:action => 'set_portal_folders'} %>
21   - <%= button 'amount', _('Define Amount by Folder'), {:action => 'set_portal_news_amount'} %>
  21 + <%= button 'edit', _('Define Amount by Folder'), {:action => 'set_portal_news_amount'} %>
22 22 <%= button 'delete', _('Remove'), { :action => 'unset_portal_community'} %>
23 23 <% end %>
24 24 <% end %>
... ...
public/designs/icons/tango/style.css
... ... @@ -5,6 +5,7 @@
5 5 .icon-new { background-image: url(Tango/16x16/actions/filenew.png) }
6 6 .icon-close { background-image: url(Tango/16x16/actions/gtk-cancel.png) }
7 7 .icon-newfolder { background-image: url(Tango/16x16/actions/folder-new.png) }
  8 +.icon-folder { background-image: url(Tango/16x16/places/folder.png) }
8 9 .icon-newblog { background-image: url(mod/16x16/apps/text-editor.png) }
9 10 /*.icon-open { background-image: url(folder-open.gif) } UNUSED*/
10 11 /*.icon-cms { background-image: url(abiword_48.png) } UNUSED*/
... ...