Skip to content

Commit

Permalink
CIRCULATION: link from item details to circ UI
Browse files Browse the repository at this point in the history
* FIX Fixes link between item details view and circulation UI
* FIX Fixes #234

Signed-off-by: Aly Badr <[email protected]>
  • Loading branch information
Aly Badr authored and rerowep committed Mar 25, 2019
1 parent 0d66a54 commit b90d7e4
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ <h4 class="mb-0 col-xs-12 col-sm-10 offset-sm-2 col-md-11 offset-md-1">{{ _('Bor
{% set patron_name = patron.first_name + ' ' + patron.last_name + ' - ' + patron.barcode %}
<tr>
<td>
<a href="{{ url_for('circulation.index', path='checkinout?patron=' + patron.get('barcode')) }}">{{ patron_name }}</ a>
<a href="{{ url_for('circulation.index') + 'checkinout?patron=' + patron.get('barcode')}}">{{ patron_name }}</a>
</td>
<td>
{{ holding.end_date|format_date(
Expand Down Expand Up @@ -137,7 +137,7 @@ <h4 class="mb-0 col-xs-12 col-sm-10 offset-sm-2 col-md-11 offset-md-1">{{ _('Pen
<tr>
<td>
{% if patron %}
<a href="{{ url_for('circulation.index', path='checkinout?patron=' + patron.get('barcode')) }}">{{ patron_name }}</a>
<a href="{{ url_for('circulation.index') + 'checkinout?patron=' + patron.get('barcode')}}">{{ patron_name }}</a>
{% else %}
{{ _('No patron found!') }}
{% endif %}
Expand Down

0 comments on commit b90d7e4

Please sign in to comment.