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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-request-article.tt (-10 / +9 lines)
Lines 33-39 Link Here
33
    <div class="container-fluid maincontent">
33
    <div class="container-fluid maincontent">
34
        <div class="row">
34
        <div class="row">
35
            <div class="col">
35
            <div class="col">
36
                [% IF !error_message && biblio.can_article_request( patron ) %]
36
                [% IF error_message %]
37
                    <h1 class="title">[% biblio.title | html %]</h1>
38
                    <div class="alert alert-info">
39
                        [% SWITCH error_message %]
40
                            [% CASE 'article_request_limit_reached'       %]You reached your open article requests limit.
41
                            [% CASE 'article_request_unhandled_exception' %]An error has occurred.
42
                        [% END %]
43
                    </div>
44
                [% ELSIF biblio.can_article_request( patron ) %]
37
                    <h1>Place article request for [% biblio.title | html %]</h1>
45
                    <h1>Place article request for [% biblio.title | html %]</h1>
38
                    [% IF ( disclaimer && !action) %]
46
                    [% IF ( disclaimer && !action) %]
39
                        <div class="alert alert-warning">
47
                        <div class="alert alert-warning">
Lines 216-229 Link Here
216
                            <input type="submit" class="btn btn-primary" value="Place request" />
224
                            <input type="submit" class="btn btn-primary" value="Place request" />
217
                        </form>
225
                        </form>
218
                    [% END %]
226
                    [% END %]
219
                [% ELSIF error_message %]
220
                    <h1 class="title">[% biblio.title | html %]</h1>
221
                    <div class="alert alert-info">
222
                        [% SWITCH error_message %]
223
                            [% CASE 'article_request_limit_reached'       %]You reached your article requests daily limit.
224
                            [% CASE 'article_request_unhandled_exception' %]An error has occurred.
225
                        [% END %]
226
                    </div>
227
                [% ELSE %]
227
                [% ELSE %]
228
                    <h1 class="title">[% biblio.title | html %]</h1>
228
                    <h1 class="title">[% biblio.title | html %]</h1>
229
                    <div class="alert alert-info">
229
                    <div class="alert alert-info">
230
- 

Return to bug 29169