From: Bill Erickson Date: Sat, 29 Jan 2011 15:25:45 +0000 (-0500) Subject: minor circs page tweaks: disable renew option when no renewals left; make title... X-Git-Tag: opac-tt-poc-demo2~69^2~11 X-Git-Url: https://old-git.evergreen-ils.org/?a=commitdiff_plain;h=0418e38ef5a703a54709081fa7c964f9225d62d7;p=evergreen%2Fequinox.git minor circs page tweaks: disable renew option when no renewals left; make title/author links --- diff --git a/Open-ILS/web/templates/default/opac/myopac/circs.tt2 b/Open-ILS/web/templates/default/opac/myopac/circs.tt2 index fc63b312eb..55ab95b710 100644 --- a/Open-ILS/web/templates/default/opac/myopac/circs.tt2 +++ b/Open-ILS/web/templates/default/opac/myopac/circs.tt2 @@ -43,13 +43,16 @@ [% FOR circ IN ctx.circs %] [% attrs = {marc_xml => circ.marc_xml}; %] [% PROCESS get_marc_attrs args=attrs; %] + - [% attrs.title %] - [% attrs.author %] + [% attrs.title %] + [% attrs.author %] [% date.format(ctx.parse_datetime(circ.circ.due_date),'%Y-%m-%d') %] [% circ.circ.renewal_remaining %] - + + [% IF circ.renewal_response and circ.renewal_response.textcode != 'SUCCESS' %] @@ -62,6 +65,7 @@ [% END %] + [% END %]