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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-discharge.tt (-8 / +7 lines)
Lines 48-54 Link Here
48
                        <h2>What is a discharge?</h2>
48
                        <h2>What is a discharge?</h2>
49
                        <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
49
                        <p>This document certifies that you have returned all borrowed items. It is sometimes asked during a file transfer from a school to another. The discharge is sent by us to your school. You will also find it available on your reader account.</p>
50
                        <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
50
                        <p><strong>Warning</strong>: This request is only valid if you are in good standing with the library. Once the application is made, you can not borrow library materials.</p>
51
                        [% UNLESS can_be_discharged %]
51
                        [% IF can_be_discharged %]
52
                            <form action="/cgi-bin/koha/opac-discharge.pl" method="post">
53
                                [% INCLUDE 'csrf-token.inc' %]
54
                                <input type="hidden" name="op" value="cud-request" />
55
                                <button class="btn btn-primary" type="submit">Ask for a discharge</button>
56
                            </form>
57
                        [% ELSE %]
52
                            [% IF failure %]
58
                            [% IF failure %]
53
                                <p> There was an error during the discharge process </p>
59
                                <p> There was an error during the discharge process </p>
54
                            [% END %]
60
                            [% END %]
Lines 69-80 Link Here
69
                                [% END %]
75
                                [% END %]
70
                            </ul>
76
                            </ul>
71
                            </div>
77
                            </div>
72
                        [% ELSE %]
73
                            <form action="/cgi-bin/koha/opac-discharge.pl" method="post">
74
                                [% INCLUDE 'csrf-token.inc' %]
75
                                <input type="hidden" name="op" value="cud-request" />
76
                                <button class="btn btn-primary" type="submit">Ask for a discharge</button>
77
                            </form>
78
                        [% END %]
78
                        [% END %]
79
79
80
                    [% END %]
80
                    [% END %]
81
- 

Return to bug 14250