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

Add deliver, discard option to hold browse view #321

Merged
merged 1 commit into from
Aug 14, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion app/views/hold/browse.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,14 @@ <h2>Review Holds</h2>
</div>
<ul>
@holds.map { hold =>
<li><a href="@routes.ItemController.item(hold.itemId)">@Html(hold.item.metadataValue("title"))</a>
<li>
<a rel="tooltip" title="Fulfill subscription for this item"
href="@routes.Application.resolveHold(hold.id, true)" class="btn btn-success btn-xs">
<span class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span></a>
<a rel="tooltip" title="Forget this item"
href="@routes.Application.resolveHold(hold.id, false)" class="btn btn-danger btn-xs">
<span class="glyphicon glyphicon-thumbs-down" aria-hidden="true"></span></a>
<a href="@routes.ItemController.item(hold.itemId)">@Html(hold.item.metadataValue("title"))</a>
@reason(hold.subscription.topic)
</li>
}
Expand Down
4 changes: 4 additions & 0 deletions public/stylesheets/main.css
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,7 @@ a.list-group-item:hover {
.hold_topic, .hold_topic a {
color: gray;
}

.hold_topic a.btn {
color: white;
}