Skip to content

Commit

Permalink
Use rails guide format for site links
Browse files Browse the repository at this point in the history
 Co-authored-by: Anna Headley <hackartisan@users.noreply.github.com>
  • Loading branch information
leefaisonr committed Jul 12, 2023
1 parent 3a09361 commit fc4f442
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@

<body>
<div class="lux">
<library-header app-name="ImageCat" abbr-name="LTR" app-url="https://imagecat-prod.princeton.edu" theme="dark">
<library-header app-name="ImageCat" abbr-name="LTR" app-url="<%= root_path %>" theme="dark">
</library-header>
<div id="main-content">
<%= yield %>
Expand Down
8 changes: 5 additions & 3 deletions app/views/welcome/index.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -8,12 +8,14 @@ Records are arranged alphabetically with authors, titles, and subjects interfile

Please enter a search string to go to the guide card nearest that search string.</p>

<p> GuideCards Link (Temporary): </p> <a>imagecat-staging.princeton.edu/guide_cards</a>
<p> GuideCards Link (Temporary): <%= link_to("GuideCards index", guide_cards_path) %></p>

<p> Search box will go here </p>

<p>Filing rules:</p><a>https://imagecat2.princeton.edu/ecc/cardhelp.html</a>

<p>Library Locations and Call Number Information:</p><a>https://library.princeton.edu/libraries</a>
<p> GuideCards Link (Temporary): <%= link_to("GuideCards index", guide_cards_path) %></p>

<p>For items cataloged 1980+ and for most serials, consult the Online Catalog</p><a>https://catalog.princeton.edu/</a>
<p><%= link_to("Library Locations and Call Number Information", "https://library.princeton.edu/libraries") %></p>

<p>For items cataloged 1980+ and for most serials, consult the <%= link_to("Online Catalog", "https://catalog.princeton.edu/") %></p>

0 comments on commit fc4f442

Please sign in to comment.