Skip to content

Commit

Permalink
Merge pull request #59 from uclibs/feature/samvera-deprecated#371-col…
Browse files Browse the repository at this point in the history
…lection-people-links

Add links to display collection and people url
  • Loading branch information
hortongn committed Jul 16, 2015
2 parents 858182e + 840fbaf commit bfb8345
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
5 changes: 5 additions & 0 deletions app/views/curate/collections/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -32,3 +32,8 @@
<div id="documents" class="clear">
<%= list_items_in_collection(@collection) %>
</div>

<div class="page-link">
<% this_page = Curate.configuration.application_root_url + polymorphic_path(@collection) %>
<p>Link to this page: <%= link_to(this_page, this_page) %></p>
</div>
4 changes: 4 additions & 0 deletions app/views/curate/people/show.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -73,3 +73,7 @@

</div>

<div class="page-link">
<% this_page = Curate.configuration.application_root_url + polymorphic_path(@person) %>
<p>Link to this page: <%= link_to(this_page, this_page) %></p>
</div>

0 comments on commit bfb8345

Please sign in to comment.