From 7b716ef9f8e927e9a808f87da5001314d3193635 Mon Sep 17 00:00:00 2001 From: Antonio Terceiro Date: Wed, 28 Apr 2010 13:56:22 -0300 Subject: [PATCH] Use already-defined button names --- app/views/admin_panel/set_portal_community.rhtml | 6 +++--- public/designs/icons/tango/style.css | 1 + 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/app/views/admin_panel/set_portal_community.rhtml b/app/views/admin_panel/set_portal_community.rhtml index b161f06..476f4ea 100644 --- a/app/views/admin_panel/set_portal_community.rhtml +++ b/app/views/admin_panel/set_portal_community.rhtml @@ -13,12 +13,12 @@ <% button_bar do %> <%if @portal_community.environment.enabled?('use_portal_community') %> - <%= button 'disable', _('Disable'), {:action => 'manage_portal_community', :activate => 0} %> + <%= button 'cancel', _('Disable'), {:action => 'manage_portal_community', :activate => 0} %> <% else %> - <%= button 'enable', _('Enable'), {:action => 'manage_portal_community', :activate => 1} %> + <%= button 'ok', _('Enable'), {:action => 'manage_portal_community', :activate => 1} %> <% end %> <%= button 'folder', _('Select Portal Folders'), {:action => 'set_portal_folders'} %> - <%= button 'amount', _('Define Amount by Folder'), {:action => 'set_portal_news_amount'} %> + <%= button 'edit', _('Define Amount by Folder'), {:action => 'set_portal_news_amount'} %> <%= button 'delete', _('Remove'), { :action => 'unset_portal_community'} %> <% end %> <% end %> diff --git a/public/designs/icons/tango/style.css b/public/designs/icons/tango/style.css index 89963e0..49d86c9 100644 --- a/public/designs/icons/tango/style.css +++ b/public/designs/icons/tango/style.css @@ -5,6 +5,7 @@ .icon-new { background-image: url(Tango/16x16/actions/filenew.png) } .icon-close { background-image: url(Tango/16x16/actions/gtk-cancel.png) } .icon-newfolder { background-image: url(Tango/16x16/actions/folder-new.png) } +.icon-folder { background-image: url(Tango/16x16/places/folder.png) } .icon-newblog { background-image: url(mod/16x16/apps/text-editor.png) } /*.icon-open { background-image: url(folder-open.gif) } UNUSED*/ /*.icon-cms { background-image: url(abiword_48.png) } UNUSED*/ -- libgit2 0.21.2