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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-6 / +5 lines)
Lines 156-162 Using this account is not recommended because some parts of Koha will not functi Link Here
156
                                                    <th>Barcode</th>
156
                                                    <th>Barcode</th>
157
                                                [% END %]
157
                                                [% END %]
158
                                                    <th>Call no.</th>
158
                                                    <th>Call no.</th>
159
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
159
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
160
                                                    <th class="nosort">Renew</th>
160
                                                    <th class="nosort">Renew</th>
161
                                                [% END %]
161
                                                [% END %]
162
                                                [% IF ( OPACFinesTab ) %]
162
                                                [% IF ( OPACFinesTab ) %]
Lines 245-251 Using this account is not recommended because some parts of Koha will not functi Link Here
245
                                                    <span class="tdlabel">Call no.:</span>
245
                                                    <span class="tdlabel">Call no.:</span>
246
                                                    [% ISSUE.itemcallnumber %]
246
                                                    [% ISSUE.itemcallnumber %]
247
                                                </td>
247
                                                </td>
248
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
248
                                                [% IF ( OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
249
                                                    <td class="renew">
249
                                                    <td class="renew">
250
                                                    [% IF ISSUE.renewed %]<span class="blabel label-success">Renewed!</span><br />[% END %]
250
                                                    [% IF ISSUE.renewed %]<span class="blabel label-success">Renewed!</span><br />[% END %]
251
                                                    [% IF ( ISSUE.status ) %]
251
                                                    [% IF ( ISSUE.status ) %]
Lines 287-298 Using this account is not recommended because some parts of Koha will not functi Link Here
287
                                        [% END # /FOREACH ISSUES %]
287
                                        [% END # /FOREACH ISSUES %]
288
                                    </tbody>
288
                                    </tbody>
289
                                </table>
289
                                </table>
290
                                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
290
                                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
291
                                    <input type="submit" class="btn" value="Renew selected" />
291
                                    <input type="submit" class="btn" value="Renew selected" />
292
                                [% END %]
292
                                [% END %]
293
                                </form>
293
                                </form>
294
294
295
                                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
295
                                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
296
                                <form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post">
296
                                <form id="renewall" action="/cgi-bin/koha/opac-renew.pl" method="post">
297
                                    <input type="hidden" name="from" value="opac_user" />
297
                                    <input type="hidden" name="from" value="opac_user" />
298
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
298
                                    <input type="hidden" name="borrowernumber" value="[% borrowernumber %]" />
Lines 878-884 Using this account is not recommended because some parts of Koha will not functi Link Here
878
                    e.preventDefault();
878
                    e.preventDefault();
879
                    $("#renewall").submit();
879
                    $("#renewall").submit();
880
                });
880
                });
881
                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.BlockExpiredPatronOpacActions ) ) %]
881
                [% IF ( canrenew && !userdebarred && OpacRenewalAllowed && !( borrower.is_expired && borrower.category.effective_BlockExpiredPatronOpacActions ) ) %]
882
                    $("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>");
882
                    $("#checkoutst caption").append("<div id=\"renewcontrols\"><a id=\"renewselected_link\" href=\"#\">"+_("Renew selected")+"</a> <a id=\"renewall_link\" href=\"#\">"+_("Renew all")+"</a></div>");
883
                [% END %]
883
                [% END %]
884
            [% END %]
884
            [% END %]
885
- 

Return to bug 17522