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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/admin-items-search-field-form.inc (-1 / +1 lines)
Lines 37-43 Link Here
37
    <label for="tagsubfield">MARC subfield: </label>
37
    <label for="tagsubfield">MARC subfield: </label>
38
    <select id="tagsubfield" name="tagsubfield">
38
    <select id="tagsubfield" name="tagsubfield">
39
      [% codes = [''] %]
39
      [% codes = [''] %]
40
      [% codes = codes.merge([0..9], ['a'..'z']) | html %]
40
      [% codes = codes.merge([0..9], ['a'..'z']) %]
41
      [% FOREACH tagsubfield IN codes %]
41
      [% FOREACH tagsubfield IN codes %]
42
        [% IF field && field.tagsubfield == tagsubfield %]
42
        [% IF field && field.tagsubfield == tagsubfield %]
43
          <option value="[% tagsubfield | html %]" selected="selected">[% tagsubfield | html %]</option>
43
          <option value="[% tagsubfield | html %]" selected="selected">[% tagsubfield | html %]</option>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/branch-selector.inc (-2 / +2 lines)
Lines 1-8 Link Here
1
[%# First check to see if we have anything selected, otherwise we select all %]
1
[%# First check to see if we have anything selected, otherwise we select all %]
2
[% selectall = 1 | html %]
2
[% selectall = 1 %]
3
[% FOREACH branch IN branches %]
3
[% FOREACH branch IN branches %]
4
    [% IF branch.selected %]
4
    [% IF branch.selected %]
5
        [% selectall = 0 | html %]
5
        [% selectall = 0 %]
6
    [% END %]
6
    [% END %]
7
[% END %]
7
[% END %]
8
<div class="branchselector">
8
<div class="branchselector">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt (-2 / +2 lines)
Lines 117-124 Link Here
117
              <td>[% current_date_and_time | $KohaDates with_hours => 1 | html %]</td>
117
              <td>[% current_date_and_time | $KohaDates with_hours => 1 | html %]</td>
118
            </tr>
118
            </tr>
119
            <tr>
119
            <tr>
120
              [% timezone_config_class = (time_zone.config_invalid) ? 'status_warn' : '' | html %]
120
              [% timezone_config_class = (time_zone.config_invalid) ? 'status_warn' : '' %]
121
              [% timezone_env_class    = (time_zone.env_invalid)    ? 'status_warn' : '' | html %]
121
              [% timezone_env_class    = (time_zone.env_invalid)    ? 'status_warn' : '' %]
122
              <th scope="row">Time zone: </th>
122
              <th scope="row">Time zone: </th>
123
              <td>Used: <span>[% time_zone.actual | html %]</span>
123
              <td>Used: <span>[% time_zone.actual | html %]</span>
124
                          [% IF time_zone.actual_bad_tz_fallback %]
124
                          [% IF time_zone.actual_bad_tz_fallback %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/basket.tt (-8 / +8 lines)
Lines 464-476 Link Here
464
                                    <a class="edit_note" data-ordernumber="[% books_loo.ordernumber | html %]" data-note_type="vendor" href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber | html %]&type=vendor" title="Add vendor note"><i class="fa fa-plus"></i> Add vendor note</a>
464
                                    <a class="edit_note" data-ordernumber="[% books_loo.ordernumber | html %]" data-note_type="vendor" href="/cgi-bin/koha/acqui/modordernotes.pl?ordernumber=[% books_loo.ordernumber | html %]&type=vendor" title="Add vendor note"><i class="fa fa-plus"></i> Add vendor note</a>
465
                                [% END %]
465
                                [% END %]
466
                            [% IF (books_loo.transferred_from) %]
466
                            [% IF (books_loo.transferred_from) %]
467
                              [% basket = books_loo.transferred_from.basket | html %]
467
                              [% basket = books_loo.transferred_from.basket %]
468
                              [% bookseller = books_loo.transferred_from.bookseller | html %]
468
                              [% bookseller = books_loo.transferred_from.bookseller %]
469
                              [% timestamp = books_loo.transferred_from.timestamp | html %]
469
                              [% timestamp = books_loo.transferred_from.timestamp %]
470
                              <p>Transferred from basket:
470
                              <p>Transferred from basket:
471
                                <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
471
                                <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
472
                                (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
472
                                (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
473
                                on <span title="[% timestamp | $KohaDates with_hours = 1 | html %]">
473
                                on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
474
                                  [% timestamp | $KohaDates %]
474
                                  [% timestamp | $KohaDates %]
475
                                </span>
475
                                </span>
476
                              </p>
476
                              </p>
Lines 582-594 Link Here
582
                        [% END %]
582
                        [% END %]
583
                      </p>
583
                      </p>
584
                      [% IF order.transferred_to %]
584
                      [% IF order.transferred_to %]
585
                        [% basket = order.transferred_to.basket | html %]
585
                        [% basket = order.transferred_to.basket %]
586
                        [% bookseller = order.transferred_to.bookseller | html %]
586
                        [% bookseller = order.transferred_to.bookseller %]
587
                        [% timestamp = order.transferred_to.timestamp | html %]
587
                        [% timestamp = order.transferred_to.timestamp %]
588
                        <p>Transferred to basket:
588
                        <p>Transferred to basket:
589
                          <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
589
                          <a href="/cgi-bin/koha/acqui/basket.pl?basketno=[% basket.basketno | html %]"> [% basket.basketname | html %]</a>
590
                          (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
590
                          (<a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% bookseller.id | html %]">[% bookseller.name | html %]</a>)
591
                          on <span title="[% timestamp | $KohaDates with_hours = 1 | html %]">
591
                          on <span title="[% timestamp | $KohaDates with_hours = 1 %]">
592
                            [% timestamp | $KohaDates %]
592
                            [% timestamp | $KohaDates %]
593
                          </span>
593
                          </span>
594
                        </p>
594
                        </p>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/booksellers.tt (-1 / +1 lines)
Lines 128-134 Link Here
128
                                        <td><span title="[% basket.creationdate | html %]">[% basket.creationdate | $KohaDates %]</span></td>
128
                                        <td><span title="[% basket.creationdate | html %]">[% basket.creationdate | $KohaDates %]</span></td>
129
                                        <td>
129
                                        <td>
130
                                          [% IF basket.basketgroup %]
130
                                          [% IF basket.basketgroup %]
131
                                            [% basketgroup = basket.basketgroup | html %]
131
                                            [% basketgroup = basket.basketgroup %]
132
                                            [% IF basketgroup.closed %]
132
                                            [% IF basketgroup.closed %]
133
                                              [% basketgroup.name | html %] (closed)
133
                                              [% basketgroup.name | html %] (closed)
134
                                            [% ELSE %]
134
                                            [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/invoice.tt (-4 / +4 lines)
Lines 104-117 Link Here
104
                             <th>Encumber while invoice open</th>
104
                             <th>Encumber while invoice open</th>
105
                             <th>&nbsp</th>
105
                             <th>&nbsp</th>
106
                          </tr>
106
                          </tr>
107
                          [% total_adj = 0 | html %]
107
                          [% total_adj = 0 %]
108
                          [% FOREACH adjustment IN adjustments %]
108
                          [% FOREACH adjustment IN adjustments %]
109
                              [% total_adj = total_adj + adjustment.adjustment | html %]
109
                              [% total_adj = total_adj + adjustment.adjustment %]
110
                              <tr>
110
                              <tr>
111
                                  <td><input type="hidden" name="adjustment_id" value="[% adjustment.adjustment_id | html %]" />[% adjustment.adjustment_id | html %]</td>
111
                                  <td><input type="hidden" name="adjustment_id" value="[% adjustment.adjustment_id | html %]" />[% adjustment.adjustment_id | html %]</td>
112
                                  <td><input type="text" name="adjustment" id="adjustment_[% adjustment.adjustment_id | html %]" value="[% adjustment.adjustment | $Price %]" /></td>
112
                                  <td><input type="text" name="adjustment" id="adjustment_[% adjustment.adjustment_id | html %]" value="[% adjustment.adjustment | $Price %]" /></td>
113
                                  <td>
113
                                  <td>
114
                                      [% reasons = AuthorisedValues.Get("ADJ_REASON") | html %]
114
                                      [% reasons = AuthorisedValues.Get("ADJ_REASON") %]
115
                                      [% IF reasons.0 %]
115
                                      [% IF reasons.0 %]
116
                                          <select id="reason_[% adjustment.adjustment_id | html %]" name="reason">
116
                                          <select id="reason_[% adjustment.adjustment_id | html %]" name="reason">
117
                                              <option value="">No reason</option>
117
                                              <option value="">No reason</option>
Lines 174-180 Link Here
174
                                  <label for="adjustment_new">Amount: </label>
174
                                  <label for="adjustment_new">Amount: </label>
175
                                  <input type="text" name="adjustment" id="adjustment_new" />
175
                                  <input type="text" name="adjustment" id="adjustment_new" />
176
                              </li>
176
                              </li>
177
                              [% reasons = AuthorisedValues.Get("ADJ_REASON") | html %]
177
                              [% reasons = AuthorisedValues.Get("ADJ_REASON") %]
178
                              [% IF reasons.0 %]
178
                              [% IF reasons.0 %]
179
                                  <li>
179
                                  <li>
180
                                      <label for="reason_[% adjustment.adjustment_id | html %]">Reason: </label>
180
                                      <label for="reason_[% adjustment.adjustment_id | html %]">Reason: </label>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/neworderempty.tt (-3 / +3 lines)
Lines 327-343 Link Here
327
                    <input type="hidden" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
327
                    <input type="hidden" name="budget_id" id="budget_id" value="[% budget_id | html %]" />[% Budget_name | html %]
328
                [% ELSE %]
328
                [% ELSE %]
329
                <label class="required" for="budget_id">Fund: </label>
329
                <label class="required" for="budget_id">Fund: </label>
330
                [% active_count = 0 | html %]
330
                [% active_count = 0 %]
331
                [% IF !ordernumber %]
331
                [% IF !ordernumber %]
332
                    [% FOREACH budget_loo IN budget_loop %]
332
                    [% FOREACH budget_loo IN budget_loop %]
333
                        [% active_count= active_count + budget_loo.b_active | html %]
333
                        [% active_count= active_count + budget_loo.b_active %]
334
                    [% END %]
334
                    [% END %]
335
                [% END %]
335
                [% END %]
336
                <select id="budget_id" size="1" name="budget_id">
336
                <select id="budget_id" size="1" name="budget_id">
337
                    <option value="">Select a fund</option>
337
                    <option value="">Select a fund</option>
338
                [% FOREACH budget_loo IN budget_loop %]
338
                [% FOREACH budget_loo IN budget_loop %]
339
                    [% IF ( budget_loo.b_sel ) %]
339
                    [% IF ( budget_loo.b_sel ) %]
340
                        [% active_count = 0 #select no other fund | html %]
340
                        [% active_count = 0 #select no other fund %]
341
                        <option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
341
                        <option value="[% budget_loo.b_id | html %]" selected="selected" data-sort1-authcat="[% budget_loo.b_sort1_authcat | html %]" data-sort2-authcat="[% budget_loo.b_sort2_authcat | html %]"
342
                                style="padding-left:[% budget_loo.b_level | html %]em;"
342
                                style="padding-left:[% budget_loo.b_level | html %]em;"
343
                        >
343
                        >
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-2 / +2 lines)
Lines 244-252 Link Here
244
	<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl | html %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
244
	<td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl | html %]" alt=""/>[% ELSE %]&nbsp;[% END %]</td>
245
    <td>
245
    <td>
246
        [% IF loo.branches.size > 0 %]
246
        [% IF loo.branches.size > 0 %]
247
            [% branches_str = "" | html %]
247
            [% branches_str = "" %]
248
            [% FOREACH branch IN loo.branches %]
248
            [% FOREACH branch IN loo.branches %]
249
                [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
249
                [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
250
            [% END %]
250
            [% END %]
251
            <span href="#" title="[% branches_str | html %]">
251
            <span href="#" title="[% branches_str | html %]">
252
                [% IF loo.branches.size > 1 %]
252
                [% IF loo.branches.size > 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/categories.tt (-2 / +2 lines)
Lines 435-443 Link Here
435
                        <td>
435
                        <td>
436
                            [% SET branch_limitations = category.branch_limitations %]
436
                            [% SET branch_limitations = category.branch_limitations %]
437
                            [% IF branch_limitations.size > 0 %]
437
                            [% IF branch_limitations.size > 0 %]
438
                                [% branches_str = "" | html %]
438
                                [% branches_str = "" %]
439
                                [% FOREACH branch IN branch_limitations %]
439
                                [% FOREACH branch IN branch_limitations %]
440
                                    [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
440
                                    [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
441
                                [% END %]
441
                                [% END %]
442
                                <span title="[% branches_str | html %]">
442
                                <span title="[% branches_str | html %]">
443
                                    [% IF branch_limitations.size > 1 %]
443
                                    [% IF branch_limitations.size > 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/matching-rules.tt (-1 / +1 lines)
Lines 42-48 Link Here
42
[%# PARAMS: selected_norm, id, name %]
42
[%# PARAMS: selected_norm, id, name %]
43
[%    UNLESS valid_norms.grep(selected_norm).size %]
43
[%    UNLESS valid_norms.grep(selected_norm).size %]
44
[%#       Fallback to 'none' %]
44
[%#       Fallback to 'none' %]
45
[% selected_norm = 'none' | html %]
45
[% selected_norm = 'none' %]
46
[%    END %]
46
[%    END %]
47
    <select id="[% id | html %]" name="[% name | html %]">
47
    <select id="[% id | html %]" name="[% name | html %]">
48
[%    PROCESS norms_options selected_norm=selected_norm %]
48
[%    PROCESS norms_options selected_norm=selected_norm %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/patron-attr-types.tt (-2 / +2 lines)
Lines 260-268 Link Here
260
            <td>[% item.description | html %]</td>
260
            <td>[% item.description | html %]</td>
261
            <td>
261
            <td>
262
                [% IF ( item.branches && item.branches.size > 0 ) %]
262
                [% IF ( item.branches && item.branches.size > 0 ) %]
263
                    [% branches_str = "" | html %]
263
                    [% branches_str = "" %]
264
                    [% FOREACH branch IN item.branches %]
264
                    [% FOREACH branch IN item.branches %]
265
                        [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" | html %]
265
                        [% branches_str = branches_str _ " " _ branch.branchname _ "(" _ branch.branchcode _ ")" %]
266
                    [% END %]
266
                    [% END %]
267
                    <span title="[% branches_str | html %]">
267
                    <span title="[% branches_str | html %]">
268
                        [% IF item.branches.size > 1 %]
268
                        [% IF item.branches.size > 1 %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/detail.tt (-2 / +2 lines)
Lines 8-16 Link Here
8
[% USE ColumnsSettings %]
8
[% USE ColumnsSettings %]
9
9
10
[% IF Koha.Preference('AmazonAssocTag') %]
10
[% IF Koha.Preference('AmazonAssocTag') %]
11
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
11
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
12
[% ELSE %]
12
[% ELSE %]
13
    [% AmazonAssocTag = '' | html %]
13
    [% AmazonAssocTag = '' %]
14
[% END %]
14
[% END %]
15
15
16
[% ShowCourseReserves = 0 | html %]
16
[% ShowCourseReserves = 0 | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/itemsearch.tt (-2 / +2 lines)
Lines 72-80 Link Here
72
      [% IF items_search_fields.size %]
72
      [% IF items_search_fields.size %]
73
        <optgroup label="Custom search fields">
73
        <optgroup label="Custom search fields">
74
          [% FOREACH field IN items_search_fields %]
74
          [% FOREACH field IN items_search_fields %]
75
            [% marcfield = field.tagfield | html %]
75
            [% marcfield = field.tagfield %]
76
            [% IF field.tagsubfield %]
76
            [% IF field.tagsubfield %]
77
              [% marcfield = marcfield _ '$' _ field.tagsubfield | html %]
77
              [% marcfield = marcfield _ '$' _ field.tagsubfield %]
78
            [% END %]
78
            [% END %]
79
            <option value="marc:[% marcfield | html %]" data-authorised-values-category="[% field.authorised_values_category | html %]">[% field.label | html %] ([% marcfield | html %])</option>
79
            <option value="marc:[% marcfield | html %]" data-authorised-values-category="[% field.authorised_values_category | html %]">[% field.label | html %] ([% marcfield | html %])</option>
80
          [% END %]
80
          [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/catalogue/results.tt (-1 / +1 lines)
Lines 399-405 Link Here
399
                [% SEARCH_RESULT.XSLTResultsRecord | $raw %]
399
                [% SEARCH_RESULT.XSLTResultsRecord | $raw %]
400
			    [% ELSE %]
400
			    [% ELSE %]
401
                                <p>[% SEARCH_RESULT.result_number | html %].
401
                                <p>[% SEARCH_RESULT.result_number | html %].
402
                                 [% biblionumber = SEARCH_RESULT.biblionumber | html %]
402
                                 [% biblionumber = SEARCH_RESULT.biblionumber %]
403
403
404
				[% INCLUDE 'biblio-default-view.inc' %]
404
				[% INCLUDE 'biblio-default-view.inc' %]
405
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title | html %][% ELSE %]No title[% END %]</b>
405
                                            <b>[% IF ( SEARCH_RESULT.title ) %][% SEARCH_RESULT.title | html %][% ELSE %]No title[% END %]</b>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/cataloguing/merge.tt (-5 / +5 lines)
Lines 46-57 div#result { margin-top: 1em; } Link Here
46
                <tr>
46
                <tr>
47
                    <th>Biblionumber</th>
47
                    <th>Biblionumber</th>
48
                    [% FOREACH key IN report_header.keys.sort %]
48
                    [% FOREACH key IN report_header.keys.sort %]
49
                        [% tag = key.substr(0, 3) | html %]
49
                        [% tag = key.substr(0, 3) %]
50
                        [% code = key.substr(3, 1) | html %]
50
                        [% code = key.substr(3, 1) %]
51
                        [% IF code == '@' %]
51
                        [% IF code == '@' %]
52
                            [% header = tag | html %]
52
                            [% header = tag %]
53
                        [% ELSE %]
53
                        [% ELSE %]
54
                            [% header = tag _ '$' _ code | html %]
54
                            [% header = tag _ '$' _ code %]
55
                        [% END %]
55
                        [% END %]
56
                        <th>[% header | html %]</th>
56
                        <th>[% header | html %]</th>
57
                    [% END %]
57
                    [% END %]
Lines 68-74 div#result { margin-top: 1em; } Link Here
68
                        </td>
68
                        </td>
69
                        [% FOREACH key IN report_header.keys.sort %]
69
                        [% FOREACH key IN report_header.keys.sort %]
70
                            <td>
70
                            <td>
71
                                [% values = record.fields.$key | html %]
71
                                [% values = record.fields.$key %]
72
                                [% IF values %]
72
                                [% IF values %]
73
                                    [% FOREACH value IN record.fields.$key %]
73
                                    [% FOREACH value IN record.fields.$key %]
74
                                        [% value | html %]
74
                                        [% value | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation.tt (-2 / +2 lines)
Lines 155-161 Link Here
155
    [% IF ( itemtype_notforloan ) %]
155
    [% IF ( itemtype_notforloan ) %]
156
        Item type is normally not for loan.
156
        Item type is normally not for loan.
157
    [% ELSIF ( item_notforloan ) %]
157
    [% ELSIF ( item_notforloan ) %]
158
        [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) | html %]
158
        [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
159
        Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
159
        Item is normally not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
160
    [% END %]
160
    [% END %]
161
      [% IF CAN_user_circulate_force_checkout %]
161
      [% IF CAN_user_circulate_force_checkout %]
Lines 341-347 Link Here
341
            [% IF ( itemtype_notforloan ) %]
341
            [% IF ( itemtype_notforloan ) %]
342
                Item type not for loan.
342
                Item type not for loan.
343
            [% ELSIF ( item_notforloan ) %]
343
            [% ELSIF ( item_notforloan ) %]
344
                [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) | html %]
344
                [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, item_notforloan, 0 ) %]
345
                Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
345
                Item not for loan [% IF (item_notforloan_lib) %]([% item_notforloan_lib | html %])[% END %].
346
            [% END %]
346
            [% END %]
347
            </li>
347
            </li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/circ/circulation_batch_checkouts.tt (-2 / +2 lines)
Lines 152-158 Link Here
152
                    [% IF checkout_info.itemtype_notforloan %]
152
                    [% IF checkout_info.itemtype_notforloan %]
153
                        <li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li>
153
                        <li><i class="fa fa-li fa-warning"></i>Item type is normally not for loan.</li>
154
                    [% ELSIF checkout_info.item_notforloan %]
154
                    [% ELSIF checkout_info.item_notforloan %]
155
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) | html %]
155
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
156
                        <li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li>
156
                        <li><i class="fa fa-li fa-warning"></i>Item is normally not for loan [% IF item_notforloan_lib %]([% item_notforloan_lib | html %])[% END %].</li>
157
                    [% END %]
157
                    [% END %]
158
                  [% END %]
158
                  [% END %]
Lines 208-214 Link Here
208
                    [% IF checkout_info.itemtype_notforloan %]
208
                    [% IF checkout_info.itemtype_notforloan %]
209
                       <li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li>
209
                       <li><i class="fa fa-li fa-exclamation"></i>Item type not for loan.</li>
210
                    [% ELSIF checkout_info.item_notforloan %]
210
                    [% ELSIF checkout_info.item_notforloan %]
211
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) | html %]
211
                      [% item_notforloan_lib = AuthorisedValues.GetByCode( checkout_info.authvalcode_notforloan, checkout_info.item_notforloan, 0 ) %]
212
                        <li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib | html %])[% END %].</li>
212
                        <li><i class="fa fa-li fa-exclamation"></i>Item not for loan [% IF checkout_info.item_notforloan_lib %]([% checkout_info.item_notforloan_lib | html %])[% END %].</li>
213
                    [% END %]
213
                    [% END %]
214
                  [% END %]
214
                  [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/ill/ill-requests.tt (-1 / +1 lines)
Lines 427-433 Link Here
427
                                </li>
427
                                </li>
428
                                <li class="status">
428
                                <li class="status">
429
                                    <label class="status">Status:</label>
429
                                    <label class="status">Status:</label>
430
                                    [% stat = request.status | html %]
430
                                    [% stat = request.status %]
431
                                    [% request.capabilities.$stat.name | html %]
431
                                    [% request.capabilities.$stat.name | html %]
432
                                </li>
432
                                </li>
433
                                <li class="updated">
433
                                <li class="updated">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/discharge.tt (-2 / +2 lines)
Lines 56-63 Link Here
56
        <tbody>
56
        <tbody>
57
            [% FOR d IN validated_discharges %]
57
            [% FOR d IN validated_discharges %]
58
                <tr>
58
                <tr>
59
                    <td>[% d.needed | $KohaDates with_hours = 1 | html %]</td>
59
                    <td>[% d.needed | $KohaDates with_hours = 1 %]</td>
60
                    <td>[% d.validated | $KohaDates with_hours = 1 | html %]</td>
60
                    <td>[% d.validated | $KohaDates with_hours = 1 %]</td>
61
                </tr>
61
                </tr>
62
            [% END %]
62
            [% END %]
63
        </tbody>
63
        </tbody>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/memberentrygen.tt (-1 / +1 lines)
Lines 1304-1310 Link Here
1304
            $(document).ready(function () {
1304
            $(document).ready(function () {
1305
1305
1306
                $("#entryform,#saverecord").hide();
1306
                $("#entryform,#saverecord").hide();
1307
                [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') | html %]
1307
                [% q_add_f = Koha.Preference('PatronQuickAddFields').split('\|') %]
1308
                var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field | html %]",[% END %]];
1308
                var qaddfields = [[% FOREACH field IN q_add_f.unique %]"[% field | html %]",[% END %]];
1309
                var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields
1309
                var skipped_fields = ["contactname","contactfirstname","relationship"]; //Guarantor form is pulled as a whole, ignore individual fields
1310
                $("#entryform label").each(function () {
1310
                $("#entryform label").each(function () {
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/members/members-update.tt (-1 / +1 lines)
Lines 99-105 Link Here
99
                    <div id="pending_updates">
99
                    <div id="pending_updates">
100
                            [% FOREACH pm IN PendingModifications %]
100
                            [% FOREACH pm IN PendingModifications %]
101
                                [% SET borrowernumber = pm.borrowernumber %]
101
                                [% SET borrowernumber = pm.borrowernumber %]
102
                                <h3><a href="#panel_modify_[% pm.borrowernumber | html %]">[% borrowers.$borrowernumber.surname | html %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname | html %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) | html %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) | html %]) ([% borrowers.$borrowernumber.cardnumber | html %]) - Requested on [% pm.timestamp | $KohaDates with_hours = 1 | html %]</a></h3>
102
                                <h3><a href="#panel_modify_[% pm.borrowernumber | html %]">[% borrowers.$borrowernumber.surname | html %][% IF ( borrowers.$borrowernumber.firstname ) %], [% borrowers.$borrowernumber.firstname | html %][% END %] - [% Categories.GetName( borrowers.$borrowernumber.categorycode ) | html %] ([% Branches.GetName( borrowers.$borrowernumber.branchcode ) | html %]) ([% borrowers.$borrowernumber.cardnumber | html %]) - Requested on [% pm.timestamp | $KohaDates with_hours = 1 %]</a></h3>
103
                                <div id="panel_modify_[% pm.borrowernumber | html %]">
103
                                <div id="panel_modify_[% pm.borrowernumber | html %]">
104
                                    <div style="background-color:#E6F0F2;padding:.5em;margin:.3em 0;">
104
                                    <div style="background-color:#E6F0F2;padding:.5em;margin:.3em 0;">
105
                                        <input type="radio" id="approve_modify_[% pm.borrowernumber | html %]" name="modify_[% pm.borrowernumber | html %]" value="approve" />
105
                                        <input type="radio" id="approve_modify_[% pm.borrowernumber | html %]" name="modify_[% pm.borrowernumber | html %]" value="approve" />
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/cash_register_stats.tt (-2 / +2 lines)
Lines 122-128 Link Here
122
                        [% END %]
122
                        [% END %]
123
123
124
                        [% FOREACH manualinv IN manualinv_types %]
124
                        [% FOREACH manualinv IN manualinv_types %]
125
                            [% value_manualinv = manualinv.authorised_value|truncate(5, '') | html %]
125
                            [% value_manualinv = manualinv.authorised_value|truncate(5, '') %]
126
                            [% IF transaction_type == value_manualinv %]
126
                            [% IF transaction_type == value_manualinv %]
127
                            <option value="[% value_manualinv | html %]" selected="selected">[% manualinv.authorised_value | html %]</option>
127
                            <option value="[% value_manualinv | html %]" selected="selected">[% manualinv.authorised_value | html %]</option>
128
                            [% ELSE %]
128
                            [% ELSE %]
Lines 218-224 Link Here
218
                        <span>New card</span>
218
                        <span>New card</span>
219
                    [% ELSE %]
219
                    [% ELSE %]
220
                        [% FOREACH manualinv IN manualinv_types %]
220
                        [% FOREACH manualinv IN manualinv_types %]
221
                            [% value_manualinv = manualinv.authorised_value|truncate(5, '') | html %]
221
                            [% value_manualinv = manualinv.authorised_value|truncate(5, '') %]
222
                            [% IF loopresul.accounttype == value_manualinv %]
222
                            [% IF loopresul.accounttype == value_manualinv %]
223
                            <span>[% manualinv.authorised_value | html %]</span>
223
                            <span>[% manualinv.authorised_value | html %]</span>
224
                            [% LAST %]
224
                            [% LAST %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-1 / +1 lines)
Lines 743-749 canned reports and writing custom SQL reports.</p> Link Here
743
            [% FOREACH result IN results %]
743
            [% FOREACH result IN results %]
744
                <tr>
744
                <tr>
745
                    [% FOREACH cells IN result.cells %]
745
                    [% FOREACH cells IN result.cells %]
746
                        [% place = loop.index | html %]
746
                        [% place = loop.index %]
747
                        [% IF header_row.$place.cell == 'itemnumber' %]
747
                        [% IF header_row.$place.cell == 'itemnumber' %]
748
                            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
748
                            <input type="hidden" name="[% header_row.$place.cell | html %]" value="[% cells.cell | html %]" />
749
                        [% END %]
749
                        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-1 / +1 lines)
Lines 91-97 Link Here
91
            </thead>
91
            </thead>
92
            <tbody>
92
            <tbody>
93
              [% FOREACH lette IN letter %]
93
              [% FOREACH lette IN letter %]
94
                [% can_edit = lette.branchcode || !independant_branch | html %]
94
                [% can_edit = lette.branchcode || !independant_branch %]
95
                <tr>
95
                <tr>
96
                  <td>[% IF lette.branchname %][% lette.branchname | html %][% ELSE %](All libraries)[% END %]</td>
96
                  <td>[% IF lette.branchname %][% lette.branchname | html %][% ELSE %](All libraries)[% END %]</td>
97
                  <td>
97
                  <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-1 / +1 lines)
Lines 69-75 Link Here
69
                [% END %]
69
                [% END %]
70
70
71
                [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%]
71
                [% IF ( op == 'show') && (!borrowers) && (!notfoundcardnumbers) # Alert if no patrons given%]
72
                    [% op = 'noshow' # Change op to prevent display in code below | html %]
72
                    [% op = 'noshow' # Change op to prevent display in code below %]
73
                    <h1>Batch patrons modification</h1>
73
                    <h1>Batch patrons modification</h1>
74
                    <div class="dialog alert">
74
                    <div class="dialog alert">
75
                        <p>No patron card numbers given.</p>
75
                        <p>No patron card numbers given.</p>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/item-status.inc (-3 / +3 lines)
Lines 8-14 Link Here
8
8
9
[% IF ( item.itemlost ) %]
9
[% IF ( item.itemlost ) %]
10
    [% SET itemavailable = 0 %]
10
    [% SET itemavailable = 0 %]
11
    [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) | html %]
11
    [% av_lib_include = AuthorisedValues.GetByCode( 'LOST', item.itemlost, 1 ) %]
12
    [% IF ( av_lib_include ) %]
12
    [% IF ( av_lib_include ) %]
13
        <span class="item-status lost">[% av_lib_include | html %]</span>
13
        <span class="item-status lost">[% av_lib_include | html %]</span>
14
    [% ELSE %]
14
    [% ELSE %]
Lines 53-59 Link Here
53
53
54
[% IF ( item.withdrawn ) %]
54
[% IF ( item.withdrawn ) %]
55
    [% SET itemavailable = 0 %]
55
    [% SET itemavailable = 0 %]
56
    [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) | html %]
56
    [% av_lib_include = AuthorisedValues.GetByCode( 'WITHDRAWN', item.withdrawn, 1 ) %]
57
    [% IF av_lib_include %]
57
    [% IF av_lib_include %]
58
        <span class="item-status withdrawn">[% av_lib_include | html %]</span>
58
        <span class="item-status withdrawn">[% av_lib_include | html %]</span>
59
    [% ELSE %]
59
    [% ELSE %]
Lines 76-82 Link Here
76
76
77
[% IF ( item.damaged ) %]
77
[% IF ( item.damaged ) %]
78
    [% SET itemavailable = 0 %]
78
    [% SET itemavailable = 0 %]
79
    [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) | html %]
79
    [% av_lib_include = AuthorisedValues.GetByCode( 'DAMAGED', item.damaged, 1 ) %]
80
    [% IF av_lib_include %]
80
    [% IF av_lib_include %]
81
        <span class="item-status damaged">[% av_lib_include | html %]</span>
81
        <span class="item-status damaged">[% av_lib_include | html %]</span>
82
    [% ELSE %]
82
    [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/includes/opac-topissues.inc (-1 / +1 lines)
Lines 25-31 Link Here
25
                            </select></li>
25
                            </select></li>
26
                [% END %]
26
                [% END %]
27
27
28
                [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') | html %]
28
                [% AdvancedSearchTypes = Koha.Preference('AdvancedSearchTypes').split('\|') %]
29
                [% IF AdvancedSearchTypes.grep('^itemtypes$').size %]
29
                [% IF AdvancedSearchTypes.grep('^itemtypes$').size %]
30
                    <li>
30
                    <li>
31
                        <label for="itemtype">Limit to: </label>
31
                        <label for="itemtype">Limit to: </label>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-detail.tt (-10 / +10 lines)
Lines 9-26 Link Here
9
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
9
[% SET TagsShowEnabled = ( ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsShowOnDetail ) %]
10
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
10
[% SET TagsInputEnabled = ( ( Koha.Preference( 'opacuserlogin' ) == 1 ) && ( Koha.Preference( 'TagsEnabled' ) == 1 ) && TagsInputOnDetail ) %]
11
[% IF Koha.Preference('AmazonAssocTag') %]
11
[% IF Koha.Preference('AmazonAssocTag') %]
12
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
12
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
13
[% ELSE %]
13
[% ELSE %]
14
    [% AmazonAssocTag = '' | html %]
14
    [% AmazonAssocTag = '' %]
15
[% END %]
15
[% END %]
16
16
17
[% ShowCourseReservesHeader = 0 | html %]
17
[% ShowCourseReservesHeader = 0 %]
18
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
18
[% IF Koha.Preference( 'UseCourseReserves' ) == 1 %]
19
    [% FOREACH ITEM_RESULT IN itemloop %]
19
    [% FOREACH ITEM_RESULT IN itemloop %]
20
       [% IF ITEM_RESULT.course_reserves %]
20
       [% IF ITEM_RESULT.course_reserves %]
21
           [% FOREACH r IN ITEM_RESULT.course_reserves %]
21
           [% FOREACH r IN ITEM_RESULT.course_reserves %]
22
               [% IF r.course.enabled == 'yes' %]
22
               [% IF r.course.enabled == 'yes' %]
23
                   [% ShowCourseReservesHeader = 1 | html %]
23
                   [% ShowCourseReservesHeader = 1 %]
24
               [% END %]
24
               [% END %]
25
           [% END %]
25
           [% END %]
26
        [% END %]
26
        [% END %]
Lines 78-90 Link Here
78
                        <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div>
78
                        <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="gbs-thumbnail-preview"></div>
79
                    [% END %]
79
                    [% END %]
80
                    [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
80
                    [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
81
                      [% coce_id = normalized_ean || normalized_isbn | html %]
81
                      [% coce_id = normalized_ean || normalized_isbn %]
82
                      <div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div>
82
                      <div title="[% biblio.biblionumber | html %]" class="[% coce_id | html %]" id="coce-thumbnail-preview"></div>
83
                    [% END %]
83
                    [% END %]
84
                    [% IF OpenLibraryCovers %]
84
                    [% IF OpenLibraryCovers %]
85
                        <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div>
85
                        <div title="[% biblio.biblionumber | html %]" class="[% normalized_isbn | html %]" id="openlibrary-thumbnail-preview"></div>
86
                    [% END %]
86
                    [% END %]
87
                    [% bt_id = ( normalized_upc || normalized_isbn ) | html %]
87
                    [% bt_id = ( normalized_upc || normalized_isbn ) %]
88
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
88
                    [% IF ( BakerTaylorEnabled && bt_id ) %]
89
                        [% IF BakerTaylorBookstoreURL %]
89
                        [% IF BakerTaylorBookstoreURL %]
90
                            [% IF ( OPACURLOpenInNewWindow ) %]
90
                            [% IF ( OPACURLOpenInNewWindow ) %]
Lines 168-174 Link Here
168
                                [% END # /OPACPopupAuthorsSearch %]
168
                                [% END # /OPACPopupAuthorsSearch %]
169
169
170
                                [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
170
                                [% FOREACH MARCAUTHOR IN MARCAUTHORS %]
171
                                    [% authorsloop = loop | html %]
171
                                    [% authorsloop = loop %]
172
                                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
172
                                    [% FOREACH MARCAUTHOR_SUBFIELDS_LOO IN MARCAUTHOR.MARCAUTHOR_SUBFIELDS_LOOP %]
173
                                        [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
173
                                        [% MARCAUTHOR_SUBFIELDS_LOO.separator | html %]
174
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
174
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
Lines 268-274 Link Here
268
                                                <b>All</b>
268
                                                <b>All</b>
269
                                            </label>
269
                                            </label>
270
                                            [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
270
                                            [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
271
                                                [% subjectsloop = loop | html %]
271
                                                [% subjectsloop = loop %]
272
                                                [% IF MARCSUBJCT.authoritylink %]
272
                                                [% IF MARCSUBJCT.authoritylink %]
273
                                                    <ul id="subjectsList[% loop.count | html %]" data-authid="[% MARCSUBJCT.authoritylink | html %]">
273
                                                    <ul id="subjectsList[% loop.count | html %]" data-authid="[% MARCSUBJCT.authoritylink | html %]">
274
                                                [% ELSE %]
274
                                                [% ELSE %]
Lines 293-299 Link Here
293
                                [% END # /OPACPopupAuthorsSearch%]
293
                                [% END # /OPACPopupAuthorsSearch%]
294
294
295
                                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
295
                                [% FOREACH MARCSUBJCT IN MARCSUBJCTS %]
296
                                    [% subjectsloop = loop | html %]
296
                                    [% subjectsloop = loop %]
297
                                    [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
297
                                    [% FOREACH SUBFIELD IN MARCSUBJCT.MARCSUBJECT_SUBFIELDS_LOOP %]
298
                                        [% SUBFIELD.separator | html %]
298
                                        [% SUBFIELD.separator | html %]
299
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
299
                                        [% IF Koha.Preference( 'OPACPopupAuthorsSearch' ) == 1 %]
Lines 1252-1258 Link Here
1252
                            <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1252
                            <link property="businessFunction" href="http://purl.org/goodrelations/v1#LeaseOut">
1253
                            <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1253
                            <span class="[% ITEM_RESULT.home_branch_opac_info ? 'branch-info-tooltip-trigger' : '' %]" title="">
1254
                                [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1254
                                [% IF Branches.GetURL( ITEM_RESULT.homebranch ) %]
1255
                                    [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) | html %]
1255
                                    [% home_branch_url = Branches.GetURL( ITEM_RESULT.homebranch ) %]
1256
                                    [% IF ( home_branch_url ) %]
1256
                                    [% IF ( home_branch_url ) %]
1257
                                         <a href="[% home_branch_url | html %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
1257
                                         <a href="[% home_branch_url | html %]">[% Branches.GetName( ITEM_RESULT.homebranch ) | html %]</a>
1258
                                    [% ELSE %]
1258
                                    [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-illrequests.tt (-2 / +2 lines)
Lines 125-131 Link Here
125
                        </thead>
125
                        </thead>
126
                        <tbody>
126
                        <tbody>
127
                            [% FOREACH request IN requests %]
127
                            [% FOREACH request IN requests %]
128
                                [% status = request.status | html %]
128
                                [% status = request.status %]
129
                                <tr>
129
                                <tr>
130
                                    <td>[% request.id | html %]</td>
130
                                    <td>[% request.id | html %]</td>
131
                                    <td>
131
                                    <td>
Lines 149-155 Link Here
149
                [% ELSIF method == 'view' %]
149
                [% ELSIF method == 'view' %]
150
                    <h2>View interlibrary loan request</h2>
150
                    <h2>View interlibrary loan request</h2>
151
                    [% INCLUDE messages %]
151
                    [% INCLUDE messages %]
152
                    [% status = request.status | html %]
152
                    [% status = request.status %]
153
                    <form method="post" action="?method=update" id="illrequestupdate-form" novalidate="novalidate">
153
                    <form method="post" action="?method=update" id="illrequestupdate-form" novalidate="novalidate">
154
                            <fieldset class="rows">
154
                            <fieldset class="rows">
155
                                <legend id="library_legend">Details from library</legend>
155
                                <legend id="library_legend">Details from library</legend>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-opensearch.tt (-1 / +1 lines)
Lines 43-49 Link Here
43
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc | html %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="" />
43
<img src="http://www.syndetics.com/index.aspx?isbn=[% SEARCH_RESULT.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% SEARCH_RESULT.normalized_upc | html %]&amp;oclc=[% SEARCH_RESULT.normalized_oclc | html %]" alt="" />
44
[% END %][% END %][% END %]
44
[% END %][% END %][% END %]
45
45
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
46
[% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |url %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |url %][% bt_id | html %]" /></a>[% END %][% END %]
47
[% IF ( BakerTaylorEnabled ) %][% IF bt_id %]<a href="https://[% BakerTaylorBookstoreURL |url %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL |url %][% bt_id | html %]" /></a>[% END %][% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author | html %]. [% END %]
48
	   <p>[% IF ( SEARCH_RESULT.author ) %]By [% SEARCH_RESULT.author | html %]. [% END %]
49
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place | html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode | html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear | html %]
49
	   [% IF ( SEARCH_RESULT.place ) %][% SEARCH_RESULT.place | html %] [% END %][% IF ( SEARCH_RESULT.publishercode ) %][% SEARCH_RESULT.publishercode | html %][% END %][% IF ( SEARCH_RESULT.publicationyear ) %] [% SEARCH_RESULT.publicationyear | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-readingrecord.tt (-5 / +5 lines)
Lines 12-20 Link Here
12
[% INCLUDE 'masthead.inc' %]
12
[% INCLUDE 'masthead.inc' %]
13
13
14
[% IF Koha.Preference('AmazonAssocTag') %]
14
[% IF Koha.Preference('AmazonAssocTag') %]
15
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
15
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
16
[% ELSE %]
16
[% ELSE %]
17
    [% AmazonAssocTag = '' | html %]
17
    [% AmazonAssocTag = '' %]
18
[% END %]
18
[% END %]
19
19
20
<div class="main">
20
<div class="main">
Lines 88-95 Link Here
88
                                            [% FOREACH issue IN READING_RECORD %]
88
                                            [% FOREACH issue IN READING_RECORD %]
89
                                                <tr>
89
                                                <tr>
90
                                                    <td style="display:none;">
90
                                                    <td style="display:none;">
91
                                                      [% IF issue.onsite_checkout %][% issuetype = 'onsite_checkout' | html %]
91
                                                      [% IF issue.onsite_checkout %][% issuetype = 'onsite_checkout' %]
92
                                                      [% ELSE %][% issuetype = 'standard_checkout' | html %]
92
                                                      [% ELSE %][% issuetype = 'standard_checkout' %]
93
                                                      [% END %]
93
                                                      [% END %]
94
                                                      [% issuetype | html %]
94
                                                      [% issuetype | html %]
95
                                                    </td>
95
                                                    </td>
Lines 111-117 Link Here
111
                                                [% END %]
111
                                                [% END %]
112
112
113
                                                [% IF BakerTaylorEnabled %]
113
                                                [% IF BakerTaylorEnabled %]
114
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) | html %]
114
                                                    [% bt_id = ( issue.normalized_upc || issue.normalized_isbn ) %]
115
                                                    [% IF ( bt_id ) %]
115
                                                    [% IF ( bt_id ) %]
116
                                                       <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
116
                                                       <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
117
                                                    [% ELSE %]
117
                                                    [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-results.tt (-3 / +3 lines)
Lines 254-260 Link Here
254
                                                        [% END %]
254
                                                        [% END %]
255
255
256
                                                        [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
256
                                                        [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
257
                                                          [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn | html %]
257
                                                          [% coce_id = SEARCH_RESULT.normalized_ean || SEARCH_RESULT.normalized_isbn %]
258
                                                          [% IF ( coce_id ) %]
258
                                                          [% IF ( coce_id ) %]
259
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
259
                                                            <span title="[% SEARCH_RESULT.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
260
                                                          [% ELSE %]
260
                                                          [% ELSE %]
Lines 271-277 Link Here
271
                                                        [% END %]
271
                                                        [% END %]
272
272
273
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
273
                                                        [% IF ( BakerTaylorEnabled && !BakerTaylorBookstoreURL ) %]
274
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
274
                                                            [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
275
                                                            [% IF ( bt_id ) %]
275
                                                            [% IF ( bt_id ) %]
276
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
276
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
277
                                                            [% ELSE %]
277
                                                            [% ELSE %]
Lines 281-287 Link Here
281
                                                    </a>
281
                                                    </a>
282
282
283
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
283
                                                    [% IF ( BakerTaylorEnabled && BakerTaylorBookstoreURL ) %]
284
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) | html %]
284
                                                        [% bt_id = ( SEARCH_RESULT.normalized_upc || SEARCH_RESULT.normalized_isbn ) %]
285
                                                        [% IF ( bt_id ) %]
285
                                                        [% IF ( bt_id ) %]
286
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]">
286
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]">
287
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
287
                                                                <img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" />
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-2 / +2 lines)
Lines 328-334 Link Here
328
                                                            [% END %]
328
                                                            [% END %]
329
329
330
                                                            [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
330
                                                            [% IF ( Koha.Preference('Coce') && Koha.Preference('CoceProviders') ) %]
331
                                                                [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn | html %]
331
                                                                [% coce_id = itemsloo.normalized_ean || itemsloo.normalized_isbn %]
332
                                                                [% IF ( coce_id ) %]
332
                                                                [% IF ( coce_id ) %]
333
                                                                    <span title="[% itemsloo.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
333
                                                                    <span title="[% itemsloo.biblionumber |url %]" class="[% coce_id | html %]" id="coce-thumbnail[% loop.count | html %]"></span>
334
                                                                [% ELSE %]
334
                                                                [% ELSE %]
Lines 347-353 Link Here
347
347
348
                                                        </a> <!-- / .p1 -->
348
                                                        </a> <!-- / .p1 -->
349
                                                        [% IF ( BakerTaylorEnabled ) %]
349
                                                        [% IF ( BakerTaylorEnabled ) %]
350
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) | html %]
350
                                                            [% bt_id = ( itemsloo.normalized_upc || itemsloo.normalized_isbn ) %]
351
                                                            [% IF ( bt_id ) %]
351
                                                            [% IF ( bt_id ) %]
352
                                                                <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
352
                                                                <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
353
                                                            [% ELSE %]
353
                                                            [% ELSE %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews-rss.tt (-1 / +1 lines)
Lines 16-22 Link Here
16
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" />
16
[% IF ( SyndeticsEnabled ) %][% IF ( SyndeticsCoverImages ) %][% IF ( review.content_identifier_exists ) %]<img src="https://secure.syndetics.com/index.aspx?isbn=[% review.normalized_isbn | html %]/SC.GIF&amp;client=[% SyndeticsClientCode | html %]&amp;type=xw10&amp;upc=[% review.normalized_upc | html %]&amp;oclc=[% review.normalized_oclc | html %]" alt="" />
17
[% END %][% END %][% END %]
17
[% END %][% END %][% END %]
18
18
19
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) | html %]
19
[% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
20
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>[% END %]
20
[% IF ( BakerTaylorEnabled && bt_id ) %]<a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>[% END %]
21
        [% IF ( review.author ) %]<p>By [% review.author | html %].</p> [% END %]
21
        [% IF ( review.author ) %]<p>By [% review.author | html %].</p> [% END %]
22
        <p>[% IF ( review.place ) %][% review.place | html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear | html %]
22
        <p>[% IF ( review.place ) %][% review.place | html %] [% END %][% IF ( review.publishercode ) %][% review.publishercode | html %][% END %][% IF ( review.publicationyear ) %] [% review.publicationyear | html %]
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-showreviews.tt (-1 / +1 lines)
Lines 137-143 Link Here
137
                                            [% END %]
137
                                            [% END %]
138
                                        [% END %]
138
                                        [% END %]
139
                                            </a>
139
                                            </a>
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) | html %]
140
                                        [% bt_id = ( review.normalized_upc || review.normalized_isbn ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
141
                                        [% IF ( BakerTaylorEnabled ) %]
142
                                            [% IF ( bt_id ) %]
142
                                            [% IF ( bt_id ) %]
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
143
                                                <a href="https://[% review.BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% review.BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-user.tt (-5 / +4 lines)
Lines 18-26 Link Here
18
[% INCLUDE 'masthead.inc' %]
18
[% INCLUDE 'masthead.inc' %]
19
19
20
[% IF Koha.Preference('AmazonAssocTag') %]
20
[% IF Koha.Preference('AmazonAssocTag') %]
21
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') | html %]
21
    [% AmazonAssocTag = '?tag=' _ Koha.Preference('AmazonAssocTag') %]
22
[% ELSE %]
22
[% ELSE %]
23
    [% AmazonAssocTag = '' | html %]
23
    [% AmazonAssocTag = '' %]
24
[% END %]
24
[% END %]
25
25
26
<div class="main">
26
<div class="main">
Lines 228-234 Link Here
228
                                                    [% END %]
228
                                                    [% END %]
229
229
230
                                                    [% IF ( BakerTaylorEnabled ) %]
230
                                                    [% IF ( BakerTaylorEnabled ) %]
231
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) | html %]
231
                                                        [% bt_id = ( ISSUE.normalized_upc || ISSUE.normalized_isbn ) %]
232
                                                        [% IF ( bt_id ) %]
232
                                                        [% IF ( bt_id ) %]
233
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
233
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
234
                                                        [% ELSE %]
234
                                                        [% ELSE %]
Lines 503-509 Link Here
503
                                                    [% END %]
503
                                                    [% END %]
504
504
505
                                                    [% IF ( BakerTaylorEnabled ) %]
505
                                                    [% IF ( BakerTaylorEnabled ) %]
506
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) | html %]
506
                                                        [% bt_id = ( OVERDUE.normalized_upc || OVERDUE.normalized_isbn ) %]
507
                                                        [% IF ( bt_id ) %]
507
                                                        [% IF ( bt_id ) %]
508
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
508
                                                            <a href="https://[% BakerTaylorBookstoreURL | html %][% bt_id | html %]"><img alt="See Baker &amp; Taylor" src="[% BakerTaylorImageURL | html %][% bt_id | html %]" /></a>
509
                                                        [% ELSE %]
509
                                                        [% ELSE %]
510
- 

Return to bug 21669