Skip to content
This repository has been archived by the owner on Mar 24, 2020. It is now read-only.

Commit

Permalink
Fix Go navigation feature for browse by collection page
Browse files Browse the repository at this point in the history
Update collection link

Update collection link
  • Loading branch information
VivianChu committed Feb 21, 2020
1 parent e18f35e commit 0368bed
Show file tree
Hide file tree
Showing 26 changed files with 28 additions and 28 deletions.
2 changes: 1 addition & 1 deletion app/views/dams_built_work_places/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_copyrights/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_cultural_contexts/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_functions/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_iconographies/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_licenses/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_other_rights/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_related_resources/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_scientific_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_statutes/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_style_periods/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/dams_techniques/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
6 changes: 3 additions & 3 deletions app/views/dams_units/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
<section id="browse-by">
Or browse by
<ul class="inline browse-by-list">
<li><%= link_to 'Collection', dams_collections_path %></li>
<li><%= link_to 'Collection', dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc') %></li>
<li><%= link_to 'Creator', catalog_facet_path("creator_sim", :'facet.sort' => 'index') %></li>
<li><%= link_to 'Format', catalog_facet_path("object_type_sim", :'facet.sort' => 'index') %></li>
<li><%= link_to 'Topic', catalog_facet_path("subject_topic_sim", :'facet.sort' => 'index') %></li>
Expand All @@ -24,7 +24,7 @@

<section id="home-02">
<div class="category">
<%= link_to '<h3>Library Collections</h3><p>Digitized versions of selected collections covering topics such as art, film, music, history and anthropology</p>'.html_safe, dams_unit_collections_path('dlp') %>
<%= link_to '<h3>Research Data Collections</h3><p>Research data generated by UC San Diego researchers</p>'.html_safe, dams_unit_collections_path('rdcp') %>
<%= link_to '<h3>Library Collections</h3><p>Digitized versions of selected collections covering topics such as art, film, music, history and anthropology</p>'.html_safe, dams_unit_collections_path('dlp', :'f[type_sim][]' => 'Collection', :'f[unit_code_tesim][]' => 'dlp', :'fq[]' => 'unit_code_tesim:dlp', :'sort' => 'title_ssi asc') %>
<%= link_to '<h3>Research Data Collections</h3><p>Research data generated by UC San Diego researchers</p>'.html_safe, dams_unit_collections_path('rdcp', :'f[type_sim][]' => 'Collection', :'f[unit_code_tesim][]' => 'rdcp', :'fq[]' => 'unit_code_tesim:rdcp', :'sort' => 'system_create_dtsi desc') %>
</div>
</section>
2 changes: 1 addition & 1 deletion app/views/layouts/_header.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
<li class="dropdown">
<a href="#" class="dropdown-toggle" data-toggle="dropdown">Browse By <b class="caret"></b></a>
<ul class="dropdown-menu">
<li><%= link_to 'Collection', dams_collections_path %></li>
<li><%= link_to 'Collection', dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc') %></li>
<li><%= link_to 'Creator', catalog_facet_path("creator_sim", :'facet.sort' => 'index', :'facet.prefix' => 'A') %></li>
<li><%= link_to 'Format', catalog_facet_path("object_type_sim", :'facet.sort' => 'index') %></li>
<li><%= link_to 'Topic', catalog_facet_path("subject_topic_sim", :'facet.sort' => 'index', :'facet.prefix' => 'A') %></li>
Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_complex_subjects/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_conference_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_corporate_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_family_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_genre_forms/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_geographics/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_languages/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_occupations/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_personal_names/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_temporals/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down
2 changes: 1 addition & 1 deletion app/views/mads_topics/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
<p class="sidebar-header"><strong>Browse By</strong></p>
<ul class="unstyled sidebar-button-list">
<!-- hack in browse by collection, for RCI demo -->
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path, :class => "btn btn-block btn-link" %></li>
<li><%= link_to "<i class='icon-eye-open'></i> Collection".html_safe, dams_collections_path(:'f[type_sim]' => 'Collection', :'sort' => 'title_ssi asc'), :class => "btn btn-block btn-link" %></li>
<%= render_browse_facet_links %>
</ul>

Expand Down

0 comments on commit 0368bed

Please sign in to comment.