app/views/page/_menu.html.erb in enju_leaf-1.1.0.rc14 vs app/views/page/_menu.html.erb in enju_leaf-1.1.0.rc15
- old
+ new
@@ -42,13 +42,16 @@
<% end %>
<% if defined?(EnjuLoc) %>
<li><%= link_to t('enju_loc.import_from_loc_search'), loc_search_index_path -%></li>
<% end %>
<li><%= link_to t('page.add_resource_manually'), new_manifestation_path -%></li>
- <li><%= link_to t('page.serial'), manifestations_path(periodical: true) -%></li>
+ <li><%= link_to t('page.serial'), manifestations_path(serial: true) -%></li>
<li><%= link_to t('page.import_from_file'), new_resource_import_file_path -%></li>
<li><%= link_to t('activerecord.models.accept'), new_accept_path -%></li>
+ <% if defined?(EnjuIr) %>
+ <li><%= link_to t('activemodel.models.resource'), resources_path -%></li>
+ <% end %>
<% if defined?(EnjuBookmark) %>
<li><%= link_to t('page.listing', model: t('activerecord.models.bookmark')), bookmarks_path -%></li>
<% end %>
<%- else -%>
<% if defined?(EnjuBookmark) %>
@@ -83,13 +86,13 @@
<% if defined?(EnjuEvent) %>
<li>
<a href="#event_menu"><%= t('activerecord.models.event') -%></a>
<ul>
<%- unless @library_group.real_libraries.empty? -%>
- <li><%= link_to t('page.calendar'), calendar_path -%></li>
+ <li><%= link_to t('page.calendar'), events_path(mode: 'calendar') -%></li>
<li><%= link_to t('event.all'), events_path -%></li>
<%- @library_group.real_libraries.each do |library| -%>
- <li><%= link_to library.display_name.localize, library_events_path(library) -%></li>
+ <li><%= link_to library.display_name.localize, events_path(library_id: library.name) -%></li>
<%- end -%>
<%- if can? :create, Event -%>
<li><%= link_to t('page.import'), new_event_import_file_path -%></li>
<%- end -%>
<%- end -%>