app/views/page/configuration.html.erb in enju_leaf-1.1.0.rc12 vs app/views/page/configuration.html.erb in enju_leaf-1.1.0.rc13

- old
+ new

@@ -9,11 +9,11 @@ <li><%= link_to t('activerecord.models.shelf'), shelves_path -%></li> <li><%= link_to t('activerecord.models.event'), events_path -%></li> </ul> </li> <li><%= link_to t('activerecord.models.user_group'), user_groups_path -%></li> - <li><%= link_to t('activerecord.models.user'), users_path -%> + <li><%= link_to t('activerecord.models.profile'), profiles_path -%> <ul> <li><%= link_to t('activerecord.models.user_import_file'), user_import_files_path -%></li> </ul> </li> <% if defined?(EnjuCirculation) %> @@ -25,11 +25,11 @@ </li> <% end %> <% if defined?(EnjuEvent) %> <li><%= link_to t('activerecord.models.event_category'), event_categories_path -%> <ul> - <li><%= link_to t('page.new', :model => t('activerecord.models.event_import_file')), new_event_import_file_path %></li> + <li><%= link_to t('page.new', model: t('activerecord.models.event_import_file')), new_event_import_file_path %></li> </ul> </li> <% end %> <li><%= link_to t('activerecord.models.budget_type'), budget_types_path -%></li> <li><%= link_to t('activerecord.models.bookstore'), bookstores_path -%></li> @@ -124,10 +124,12 @@ <div class="portlet" id="system"> <h2 class="title"><%= t('page.system') -%></h2> <div class="config_box"> <ul> - <li><%= link_to 'Resque', resque_path %></li> + <% if current_user.has_role?('Administrator') %> + <li><%= link_to 'Resque', resque_path %></li> + <% end %> </ul> </div> </div> </div>