Skip to content

Commit

Permalink
Merge pull request #996 from pulibrary/981-edit-link
Browse files Browse the repository at this point in the history
Replace edit_page_link override
  • Loading branch information
thanyabegum committed Sep 24, 2021
2 parents a4a78ca + 58f26df commit 611c3b5
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions app/views/spotlight/home_pages/_edit_page_link.html.erb
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<%# Princeton customization to add Dashboard button for easy access %>
<%= exhibit_edit_link @page, class: 'edit-button pull-right btn btn-primary' %>
<%= link_to t('spotlight.dashboards.show.header'), spotlight.exhibit_dashboard_path(@page.exhibit), class: 'pull-right btn btn-default' %>

0 comments on commit 611c3b5

Please sign in to comment.