Skip to content

Commit

Permalink
Merge pull request #3236 from samvera/1283-refactor-fileset-head-tag-…
Browse files Browse the repository at this point in the history
…title

Make the <title> tag for File Set items consistent with Works items, …
  • Loading branch information
Thomas Johnson authored Sep 7, 2018
2 parents e0b4d4e + 8d49857 commit 394e602
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/presenters/hyrax/file_set_presenter.rb
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def single_use_links

# The title of the webpage that shows this FileSet.
def page_title
first_title
"#{human_readable_type} | #{title.first} | ID: #{id} | #{I18n.t('hyrax.product_name')}"
end

# The first title assertion
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<% if show_pagination? %>
<div id="sortAndPerPage" class="sort-pagination" class="clearfix">
<div id="sortAndPerPage" class="sort-pagination clearfix">
<%= render partial: "paginate_compact", object: @response %>
</div>
<% end %>
1 change: 1 addition & 0 deletions app/views/hyrax/file_sets/show.html.erb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
<% provide :page_title, @presenter.page_title %>
<div class="container-fluid">
<div class="row">
<div class="col-xs-12 col-sm-4">
Expand Down

0 comments on commit 394e602

Please sign in to comment.