View | Details | Raw Unified | Return to bug 11577
Collapse All | Expand All

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (+3 lines)
Lines 230-235 Link Here
230
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
230
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
231
                                                    [% ELSIF ( ISSUE.too_many ) %]
231
                                                    [% ELSIF ( ISSUE.too_many ) %]
232
                                                        Not renewable
232
                                                        Not renewable
233
                                                    [% ELSIF ( ISSUE.auto_renew || ISSUE.auto_too_soon ) %]
234
                                                        Automatic renewal
235
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
233
                                                    [% ELSIF ( ISSUE.too_soon ) %]
236
                                                    [% ELSIF ( ISSUE.too_soon ) %]
234
                                                        No renewal before [% ISSUE.soonestrenewdate %]
237
                                                        No renewal before [% ISSUE.soonestrenewdate %]
235
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
238
                                                        <span class="renewals">([% ISSUE.renewsleft %] of [% ISSUE.renewsallowed %] renewals remaining)</span>
(-)a/opac/opac-user.pl (-3 / +4 lines)
Lines 194-201 if ($issues){ Link Here
194
        $issue->{'renewed'} = $renewed{ $issue->{'itemnumber'} };
194
        $issue->{'renewed'} = $renewed{ $issue->{'itemnumber'} };
195
195
196
        if ($renewerror) {
196
        if ($renewerror) {
197
            $issue->{'too_many'}   = 1 if $renewerror eq 'too_many';
197
            $issue->{'too_many'}       = 1 if $renewerror eq 'too_many';
198
            $issue->{'on_reserve'} = 1 if $renewerror eq 'on_reserve';
198
            $issue->{'on_reserve'}     = 1 if $renewerror eq 'on_reserve';
199
            $issue->{'auto_renew'}     = 1 if $renewerror eq 'auto_renew';
200
            $issue->{'auto_too_soon'}  = 1 if $renewerror eq 'auto_too_soon';
199
201
200
            if ( $renewerror eq 'too_soon' ) {
202
            if ( $renewerror eq 'too_soon' ) {
201
                $issue->{'too_soon'}         = 1;
203
                $issue->{'too_soon'}         = 1;
202
- 

Return to bug 11577