Skip to content

Commit

Permalink
Set up unborrow link for borrowings listed in shelf.htm
Browse files Browse the repository at this point in the history
Basically, now when you click on the link it'll actually do the
stuff instead of just giving you some inaccurate notifications (no
offense, @abhiniype :) the notifications now *will* be accurate:
it's my delay, not yours).
  • Loading branch information
badrihippo committed Aug 5, 2015
1 parent 9722944 commit 29221c6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion growlinflask/templates/user/shelf.htm
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
<span class="title"><b>{{r.copy.item.title}}</b></span>
<p><i>{{r.borrow_date}}</i><br>
</p>
<a href="#!" class="secondary-content tooltipped" data-position="left" data-delay="50" data-tooltip="Return">
<a href="{{ url_for('user_return', borrowid=r.id) }}" class="secondary-content tooltipped" data-position="left" data-delay="50" data-tooltip="Return">
<i class="material-icons return" style="font-size:40px">done</i>
</a>
</div>
Expand Down

0 comments on commit 29221c6

Please sign in to comment.