diff options
author | Philip Arndt <parndt@gmail.com> | 2010-08-09 22:01:37 +1200 |
---|---|---|
committer | Philip Arndt <parndt@gmail.com> | 2010-08-09 22:01:37 +1200 |
commit | e01b14140a716d51e3de125c8cbd39ed7631dce2 (patch) | |
tree | cc244b28abb358a2e6a86af59b619aefbc6d54bc /app/views | |
parent | 351bdd049e2b6ebad577580d3c186db4a47903a0 (diff) | |
download | refinerycms-blog-e01b14140a716d51e3de125c8cbd39ed7631dce2.tar.gz refinerycms-blog-e01b14140a716d51e3de125c8cbd39ed7631dce2.tar.bz2 refinerycms-blog-e01b14140a716d51e3de125c8cbd39ed7631dce2.zip |
Add hooks for all the icons
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/admin/blog/_submenu.html.erb | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/app/views/admin/blog/_submenu.html.erb b/app/views/admin/blog/_submenu.html.erb index 350754f..efaeddd 100644 --- a/app/views/admin/blog/_submenu.html.erb +++ b/app/views/admin/blog/_submenu.html.erb @@ -20,37 +20,47 @@ <ul> <li<%= " class='selected'" if request.path == admin_blog_comments_path %>> - <%= link_to t('.comments.new'), admin_blog_comments_path %> + <%= link_to t('.comments.new'), admin_blog_comments_path, + :class => 'user_comment_icon' %> </li> <li<%= " class='selected'" if request.path == approved_admin_blog_comments_path %>> - <%= link_to t('.comments.approved'), approved_admin_blog_comments_path %> + <%= link_to t('.comments.approved'), approved_admin_blog_comments_path, + :class => 'user_comments_add_icon' %> </li> <li<%= " class='selected'" if request.path == rejected_admin_blog_comments_path %>> - <%= link_to t('.comments.rejected'), rejected_admin_blog_comments_path %> + <%= link_to t('.comments.rejected'), rejected_admin_blog_comments_path, + :class => 'user_comments_delete_icon' %> </li> </ul> <ul class='collapsible_menu'> <li<%= " class='selected'" if request.path == admin_blog_categories_path %>> - <%= link_to t('.categories.title'), admin_blog_categories_url %> + <%= link_to t('.categories.title'), admin_blog_categories_url, + :class => 'category_icon'%> </li> <li> - <%= link_to t('.categories.manage'), admin_blog_categories_url %> + <%= link_to t('.categories.manage'), admin_blog_categories_url, + :class => 'edit_icon' %> </li> <li> - <%= link_to t('.categories.new'), new_admin_blog_category_url(:dialog => true) %> + <%= link_to t('.categories.new'), new_admin_blog_category_url(:dialog => true), + :class => 'add_icon' %> </li> </ul> <ul class='collapsible_menu'> <li<%= " class='selected'" if request.path == admin_blog_settings_path %>> - <%= link_to t('.settings.title'), admin_blog_settings_path %> + <%= link_to t('.settings.title'), admin_blog_settings_path, + :class => 'settings_icon' %> </li> <li> - <%= link_to t('.settings.moderation'), moderation_admin_blog_settings_url %> + <%= link_to t('.settings.moderation'), moderation_admin_blog_settings_url, + :class => 'tick_icon' # TODO: update to tick or cross later + %> </li> <li> - <%= link_to t('.settings.update_notified'), update_notified_admin_blog_settings_url(:dialog => true) %> + <%= link_to t('.settings.update_notified'), update_notified_admin_blog_settings_url(:dialog => true), + :class => 'user_comment_icon' %> </li> </ul> |