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

Commit

Permalink
Merge pull request #150 from MITLibraries/149_dashboard_entry
Browse files Browse the repository at this point in the history
Removes Review link on menu bar in favor of Dashboard
  • Loading branch information
Richard Rodgers committed Mar 31, 2015
2 parents 05d3197 + 0ae8def commit 2c89e4f
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions app/views/layout/main.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,7 @@
*@
@* Temporary link to (sole) subscriber edit page - will change when logins enabled *@
@if(Subscriber.findById(1).isDefined) {
<li><a id="nav_review" href="@routes.Application.holdBrowse(1)">Review <span class="badge">@{ val count = Subscriber.findById(1).get.holdCount; if (count > 0) count else ""}</span></a></li>
<li><a id="nav_sub_dashboard" href="@routes.Application.subscriberDashboard">Dashboard</a></li>
<li><a id="nav_sub_dashboard" href="@routes.Application.subscriberDashboard">Dashboard <span class="badge">@{ val count = Subscriber.findById(1).get.holdCount; if (count > 0) count else ""}</span></a></li>
<li><a id="nav_workbench" href="@routes.Application.editSubscriber(1)">Interests</a></li>
}
<li><a id="nav_workbench" href="@routes.Application.workbench">Workbench</a></li>
Expand Down

0 comments on commit 2c89e4f

Please sign in to comment.