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

(-)a/Koha/ILL/Backend/intra-includes/create.inc (-1 / +6 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% SET koha_version = Koha.Version %]
2
[% SET koha_version = Koha.Version %]
2
[% cwd = whole.cwd %]
3
[% cwd = whole.cwd %]
3
[% PROCESS "${cwd}/shared-includes/form_input_helpers.inc" %]
4
[% PROCESS "${cwd}/shared-includes/form_input_helpers.inc" %]
Lines 16-22 Link Here
16
[% END %]
17
[% END %]
17
18
18
[% IF whole.stage == "form" %]
19
[% IF whole.stage == "form" %]
19
<h2>Create a manual ILL request</h2>
20
[% IF Koha.Preference('AutoILLBackendPriority') %]
21
  <h2>Create an automatic ILL request</h2>
22
[% ELSE %]
23
  <h2>Create a manual ILL request</h2>
24
[% END %]
20
<form id="create_form" method="POST" action="">
25
<form id="create_form" method="POST" action="">
21
  [% INCLUDE 'csrf-token.inc' %]
26
  [% INCLUDE 'csrf-token.inc' %]
22
  <fieldset class="rows">
27
  <fieldset class="rows">
(-)a/Koha/ILL/Backend/opac-includes/create.inc (-1 / +6 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% PROCESS 'i18n.inc' %]
2
[% PROCESS 'i18n.inc' %]
2
[% cwd = whole.cwd %]
3
[% cwd = whole.cwd %]
3
[% PROCESS "${cwd}/shared-includes/form_input_helpers.inc" %]
4
[% PROCESS "${cwd}/shared-includes/form_input_helpers.inc" %]
Lines 19-25 Link Here
19
[% SET opac = whole.value.other.opac %]
20
[% SET opac = whole.value.other.opac %]
20
21
21
[% IF whole.stage == "form" %]
22
[% IF whole.stage == "form" %]
22
<h2>Create a manual ILL request</h2>
23
[% IF Koha.Preference('AutoILLBackendPriority') %]
24
  <h2>Create an automatic ILL request</h2>
25
[% ELSE %]
26
  <h2>Create a manual ILL request</h2>
27
[% END %]
23
<form id="create_form" method="POST" action="">
28
<form id="create_form" method="POST" action="">
24
  [% INCLUDE 'csrf-token.inc' %]
29
  [% INCLUDE 'csrf-token.inc' %]
25
    <fieldset class="rows">
30
    <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/ill-toolbar.inc (-1 / +5 lines)
Lines 2-8 Link Here
2
[% IF Koha.Preference('ILLModule') && CAN_user_ill %]
2
[% IF Koha.Preference('ILLModule') && CAN_user_ill %]
3
    <div id="toolbar" class="btn-toolbar ill-toolbar">
3
    <div id="toolbar" class="btn-toolbar ill-toolbar">
4
        [% IF backends_available %]
4
        [% IF backends_available %]
5
          [% IF backends.size > 1 %]
5
          [% IF Koha.Preference('AutoILLBackendPriority') %]
6
            <a id="ill-new" class="btn btn-default" href="/cgi-bin/koha/ill/ill-requests.pl?method=create&amp;backend=Standard">
7
                <i class="fa fa-plus"></i> New auto ILL request
8
            </a>
9
          [% ELSIF backends.size > 1 %]
6
            <div class="dropdown btn-group">
10
            <div class="dropdown btn-group">
7
                <button class="btn btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
11
                <button class="btn btn-default dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
8
                    <i class="fa fa-plus"></i> New ILL request <span class="caret"></span>
12
                    <i class="fa fa-plus"></i> New ILL request <span class="caret"></span>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt (-2 / +5 lines)
Lines 114-120 Link Here
114
114
115
                            [% IF can_place_ill_in_opac %]
115
                            [% IF can_place_ill_in_opac %]
116
                                <div id="illrequests-create-button" class="dropdown btn-group">
116
                                <div id="illrequests-create-button" class="dropdown btn-group">
117
                                    [% IF backends.size > 1 %]
117
                                    [% IF Koha.Preference('AutoILLBackendPriority') %]
118
                                        <a id="ill-new" class="btn btn-primary" href="/cgi-bin/koha/opac-illrequests.pl?method=create&amp;backend=Standard">
119
                                            <i class="fa fa-plus" aria-hidden="true"></i> Create a new request
120
                                        </a>
121
                                    [% ELSIF backends.size > 1 %]
118
                                        <button class="btn btn-primary dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
122
                                        <button class="btn btn-primary dropdown-toggle" type="button" id="ill-backend-dropdown" data-toggle="dropdown" aria-haspopup="true" aria-expanded="true">
119
                                            <i class="fa fa-plus" aria-hidden="true"></i> Create a new request <span class="caret"></span>
123
                                            <i class="fa fa-plus" aria-hidden="true"></i> Create a new request <span class="caret"></span>
120
                                        </button>
124
                                        </button>
121
- 

Return to bug 35604