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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-report-search-result.inc (-14 / +14 lines)
Lines 45-74 $(document).ready(function() { Link Here
45
            [% FOREACH report IN reports %]
45
            [% FOREACH report IN reports %]
46
                [% UNLESS report.cannotdisplay %]
46
                [% UNLESS report.cannotdisplay %]
47
                    [% IF report.nbofcomment > highWarned %]
47
                    [% IF report.nbofcomment > highWarned %]
48
                  <tr id="row[% report.id %]" class = "high-warned-row">
48
                  <tr id="row[% report.id | $raw %]" class = "high-warned-row">
49
                    [% ELSIF report.nbofcomment > warned %]
49
                    [% ELSIF report.nbofcomment > warned %]
50
                  <tr id="row[% report.id %]" class = "warned-row">
50
                  <tr id="row[% report.id | $raw %]" class = "warned-row">
51
                    [% ELSIF report.nbofcomment > lowWarned %]
51
                    [% ELSIF report.nbofcomment > lowWarned %]
52
                  <tr id="row[% report.id %]" class = "highlighted-row">
52
                  <tr id="row[% report.id | $raw %]" class = "highlighted-row">
53
                    [% END %]
53
                    [% END %]
54
                    <input hidden class="rowid" value="[% report.id %]">
54
                    <input hidden class="rowid" value="[% report.id | $raw %]">
55
                    <td>[% IF ( report.report_name ) %][% report.report_name %][% END %]</td>
55
                    <td>[% IF ( report.report_name ) %][% report.report_name | html %][% END %]</td>
56
                    <td title="[% report.savedsql |html %]"><div>
56
                    <td title="[% report.savedsql | html %]"><div>
57
                        [% IF report.notes.length > 200 %]
57
                        [% IF report.notes.length > 200 %]
58
                            [% report.notes.substr(0,200) %]<a class="showbutton">Show More</a></div><div hidden>
58
                            [% report.notes.substr(0,200) | html %]<a class="showbutton">Show More</a></div><div hidden>
59
                        [% END %]
59
                        [% END %]
60
                            [% report.notes %]
60
                            [% report.notes | html %]
61
                        [% IF report.notes.length > 200 %]
61
                        [% IF report.notes.length > 200 %]
62
                                <a class="hidebutton">Show Less</a></div> </td>
62
                                <a class="hidebutton">Show Less</a></div> </td>
63
                        [% END %]
63
                        [% END %]
64
                    <td> [% report.type %] </td>
64
                    <td> [% report.type | html %] </td>
65
                    <td>[% IF ( report.nbofusers ) %][% report.nbofusers %][% END %]</td>
65
                    <td>[% IF ( report.nbofusers ) %][% report.nbofusers | $raw %][% END %]</td>
66
                    <td><span title="[% report.lastimport %]">[% report.lastimport | $KohaDates %]</span></td>
66
                    <td><span title="[% report.lastimport | $KohaDates %]">[% report.lastimport | $KohaDates %]</span></td>
67
                    <td>[% FOREACH comment IN report.comments %][% comment.message %] ([% comment.nb %]) <br>[% END %]</td>
67
                    <td>[% FOREACH comment IN report.comments %][% comment.message | html %] ([% comment.nb | $raw %]) <br>[% END %]</td>
68
68
69
                    [% UNLESS search_only %]
69
                    [% UNLESS search_only %]
70
                        <td>
70
                        <td>
71
                            <button class="mana-use" id="mana-use-[% report.id %]"><i class="fa fa-inbox"></i> Use</button>
71
                            <button class="mana-use" id="mana-use-[% report.id | $raw %]"><i class="fa fa-inbox"></i> Use</button>
72
                        </td>
72
                        </td>
73
                    [% END %]
73
                    [% END %]
74
                  </tr>
74
                  </tr>
Lines 77-81 $(document).ready(function() { Link Here
77
        </tbody>
77
        </tbody>
78
    </table>
78
    </table>
79
[% ELSE %]
79
[% ELSE %]
80
    <h4> [% msg %]  statuscode: [% statuscode %]</h4>
80
    <h4> [% msg | html %]  statuscode: [% statuscode | $raw %]</h4>
81
[% END %]
81
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/mana/mana-subscription-search-result.inc (-16 / +16 lines)
Lines 35-63 $(document).ready(function() { Link Here
35
            [% FOREACH subscription IN subscriptions %]
35
            [% FOREACH subscription IN subscriptions %]
36
                [% UNLESS subscription.cannotdisplay %]
36
                [% UNLESS subscription.cannotdisplay %]
37
                    [% IF subscription.nbofcomment > highWarned  %]
37
                    [% IF subscription.nbofcomment > highWarned  %]
38
                    <tr id="row[% subscription.subscriptionid %]" class = "high-warned-row" title="this resource has been reported more than [% highWarned %] times, take care!">
38
                    <tr id="row[% subscription.subscriptionid | $raw %]" class = "high-warned-row" title="this resource has been reported more than [% highWarned | html %] times, take care!">
39
                    [% ELSIF subscription.nbofcomment > warned  %]
39
                    [% ELSIF subscription.nbofcomment > warned  %]
40
                    <tr id="row[% subscription.subscriptionid %]" class = "warned-row" title="this resource has been reported more than [% warned %] times, take care!">
40
                    <tr id="row[% subscription.subscriptionid | $raw %]" class = "warned-row" title="this resource has been reported more than [% warned | html %] times, take care!">
41
                    [% ELSIF subscription.nbofcomment > lowWarned  %]
41
                    [% ELSIF subscription.nbofcomment > lowWarned  %]
42
                    <tr id="row[% subscription.subscriptionid %]" class = "highlighted-row" title="this resource has been reported more than [% lowWarned %] times, take care!">
42
                    <tr id="row[% subscription.subscriptionid | $raw %]" class = "highlighted-row" title="this resource has been reported more than [% lowWarned | html %] times, take care!">
43
                    [% END %]
43
                    [% END %]
44
                    <input hidden class="rowid" value="[% subscription.id %]">
44
                    <input hidden class="rowid" value="[% subscription.id | $raw %]">
45
                        <td>[% IF ( subscription.issn ) %][% subscription.issn %][% END %]</td>
45
                        <td>[% IF ( subscription.issn ) %][% subscription.issn | html %][% END %]</td>
46
                        <td>[% subscription.title %]</a></td>
46
                        <td>[% subscription.title | html %]</a></td>
47
                        <td>[% IF ( subscription.publishercode ) %][% subscription.publishercode %][% END %]</td>
47
                        <td>[% IF ( subscription.publishercode ) %][% subscription.publishercode | html %][% END %]</td>
48
                        <td>[% IF ( subscription.sfdescription ) %][% subscription.sfdescription %][% END %]</td>
48
                        <td>[% IF ( subscription.sfdescription ) %][% subscription.sfdescription | html %][% END %]</td>
49
                        <td>[% IF ( subscription.numberingmethod ) %][% subscription.numberingmethod %][% END %]</td>
49
                        <td>[% IF ( subscription.numberingmethod ) %][% subscription.numberingmethod | html %][% END %]</td>
50
                        <td>[% IF ( subscription.nbofusers ) %][% subscription.nbofusers %][% END %]</td>
50
                        <td>[% IF ( subscription.nbofusers ) %][% subscription.nbofusers | $raw %][% END %]</td>
51
                        <td><span title="[% subscription.lastimport %]">[% subscription.lastimport | $KohaDates %]</span></td>
51
                        <td><span title="[% subscription.lastimport | $KohaDates %]">[% subscription.lastimport | $KohaDates %]</span></td>
52
                        <td>[% FOREACH comment IN subscription.comments %][% comment.message %] ([% comment.nb %]) <br>[% END %]</td>
52
                        <td>[% FOREACH comment IN subscription.comments %][% comment.message | html %] ([% comment.nb | $raw %]) <br>[% END %]</td>
53
53
54
                        [% UNLESS search_only %]
54
                        [% UNLESS search_only %]
55
                            <td>
55
                            <td>
56
                                <button class="mana-use" id="mana-use-[% subscription.id %]"><i class="fa fa-inbox"></i> Use</button>
56
                                <button class="mana-use" id="mana-use-[% subscription.id | $raw %]"><i class="fa fa-inbox"></i> Use</button>
57
                                <select class="mana-actions" id="mana-actions-[% subscription.id %]">
57
                                <select class="mana-actions" id="mana-actions-[% subscription.id | $raw %]">
58
                                    <option selected disabled>Report mistake</option>
58
                                    <option selected disabled>Report mistake</option>
59
                                    [% FOREACH comment IN subscription.comments %]
59
                                    [% FOREACH comment IN subscription.comments %]
60
                                        <option value="[% comment.id %]"> [% comment.message %] ([% comment.nb %])</option>
60
                                        <option value="[% comment.id | $raw %]"> [% comment.message | html %] ([% comment.nb | $raw %])</option>
61
                                    [% END %]
61
                                    [% END %]
62
                                        <option>other</option>
62
                                        <option>other</option>
63
                                </select>
63
                                </select>
Lines 70-76 $(document).ready(function() { Link Here
70
        </tbody>
70
        </tbody>
71
    </table>
71
    </table>
72
[% ELSE %]
72
[% ELSE %]
73
    <h4>Mana search fails with the code: [% statuscode %] </h4>
73
    <h4>Mana search fails with the code: [% statuscode | html %] </h4>
74
[% END %]
74
[% END %]
75
75
76
<div id="comment_box" class="modal" tabindex="-1" role="dialog" aria-labelledby="mana_search_result_label" style="display: none;">
76
<div id="comment_box" class="modal" tabindex="-1" role="dialog" aria-labelledby="mana_search_result_label" style="display: none;">
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/reports-toolbar.inc (-3 / +3 lines)
Lines 55-62 Link Here
55
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
55
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
56
                <ul class="dropdown-menu">
56
                <ul class="dropdown-menu">
57
                    [% FOREACH c IN mana_comments %]
57
                    [% FOREACH c IN mana_comments %]
58
                        <li class="mana-comment" data-id="[% c.id %]">
58
                        <li class="mana-comment" data-id="[% c.id | $raw %]">
59
                            <a href="#">[% c.message %] ([% c.nb %])</a>
59
                            <a href="#">[% c.message | html %] ([% c.nb | html %])</a>
60
                        </li>
60
                        </li>
61
                    [% END %]
61
                    [% END %]
62
                    <li role="separator" class="divider"></li>
62
                    <li role="separator" class="divider"></li>
Lines 73-79 Link Here
73
                        </div>
73
                        </div>
74
                        <div class="modal-body">
74
                        <div class="modal-body">
75
                            <input hidden id="mana-resource" value="report">
75
                            <input hidden id="mana-resource" value="report">
76
                            <input hidden id="mana-resource-id" value="[% mana_id %]">
76
                            <input hidden id="mana-resource-id" value="[% mana_id | $raw %]">
77
                            <div>
77
                            <div>
78
                                <input type="text" maxlength="35" size="35" id="mana-comment">
78
                                <input type="text" maxlength="35" size="35" id="mana-comment">
79
                            </div>
79
                            </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/serials-toolbar.inc (-26 / +26 lines)
Lines 66-73 Link Here
66
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
66
                <button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"> Report mistake <span class="caret"></span></button>
67
                <ul class="dropdown-menu">
67
                <ul class="dropdown-menu">
68
                    [% FOREACH c IN mana_comments %]
68
                    [% FOREACH c IN mana_comments %]
69
                        <li class="mana-comment" data-id="[% c.id %]">
69
                        <li class="mana-comment" data-id="[% c.id | $raw %]">
70
                            <a href="#">[% c.message %] ([% c.nb %])</a>
70
                            <a href="#">[% c.message | html %] ([% c.nb | html %])</a>
71
                        </li>
71
                        </li>
72
                    [% END %]
72
                    [% END %]
73
                    <li role="separator" class="divider"></li>
73
                    <li role="separator" class="divider"></li>
Lines 84-90 Link Here
84
                        </div>
84
                        </div>
85
                        <div class="modal-body">
85
                        <div class="modal-body">
86
                            <input hidden id="mana-resource" value="subscription">
86
                            <input hidden id="mana-resource" value="subscription">
87
                            <input hidden id="mana-resource-id" value="[% mana_id %]">
87
                            <input hidden id="mana-resource-id" value="[% mana_id | $raw %]">
88
                            <div>
88
                            <div>
89
                                <input type="text" maxlength="35" size="35" id="mana-comment">
89
                                <input type="text" maxlength="35" size="35" id="mana-comment">
90
                            </div>
90
                            </div>
Lines 109-120 Link Here
109
    <div class="modal-dialog">
109
    <div class="modal-dialog">
110
        <div class="modal-content">
110
        <div class="modal-content">
111
            <div class="modal-header">
111
            <div class="modal-header">
112
                <h3 id="mana_share_modal_label">Share [% bibliotitle %] to Mana</h3>
112
                <h3 id="mana_share_modal_label">Share [% bibliotitle | html %] to Mana</h3>
113
            </div>
113
            </div>
114
            <div class="modal-body">
114
            <div class="modal-body">
115
                [% IF (mana_id) %]
115
                [% IF (mana_id) %]
116
                    <div class="alert">
116
                    <div class="alert">
117
<h1>[% (mana_id) %]</h1>
117
<h1>[% mana_id | $raw %]</h1>
118
                        <p>Your subscription is already linked with a Mana subscription model. Share it if you have made modifications, otherwise it will do nothing.</p>
118
                        <p>Your subscription is already linked with a Mana subscription model. Share it if you have made modifications, otherwise it will do nothing.</p>
119
                    </div>
119
                    </div>
120
                [% END %]
120
                [% END %]
Lines 122-131 Link Here
122
                    [% UNLESS ( one_language_enabled ) %]
122
                    [% UNLESS ( one_language_enabled ) %]
123
                        <div class="rows">
123
                        <div class="rows">
124
                                <li><span class="label">Frequency: </span>
124
                                <li><span class="label">Frequency: </span>
125
                                        [% frequency.description %]
125
                                        [% frequency.description | html %]
126
                                </li>
126
                                </li>
127
                                <li><span class="label">Number pattern: </span>
127
                                <li><span class="label">Number pattern: </span>
128
                                    [% numberpattern.label %]
128
                                    [% numberpattern.label | html %]
129
                                </li>
129
                                </li>
130
                            </ol>
130
                            </ol>
131
                        </div>
131
                        </div>
Lines 140-159 Link Here
140
                                                    [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
140
                                                    [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
141
                                                        [% IF ( sublanguages_loo.enabled ) %]
141
                                                        [% IF ( sublanguages_loo.enabled ) %]
142
                                                            [% IF ( sublanguages_loo.sublanguage_current ) %]
142
                                                            [% IF ( sublanguages_loo.sublanguage_current ) %]
143
                                                                <option value="[% languages_loo.rfc4646_subtag %]" selected>
143
                                                                <option value="[% languages_loo.rfc4646_subtag | html %]" selected>
144
                                                                    [% sublanguages_loo.native_description %]
144
                                                                    [% sublanguages_loo.native_description | html %]
145
                                                                    [% sublanguages_loo.script_description %]
145
                                                                    [% sublanguages_loo.script_description | html %]
146
                                                                    [% sublanguages_loo.region_description %]
146
                                                                    [% sublanguages_loo.region_description | html %]
147
                                                                    [% sublanguages_loo.variant_description %]
147
                                                                    [% sublanguages_loo.variant_description | html %]
148
                                                                    ([% sublanguages_loo.rfc4646_subtag %])
148
                                                                    ([% sublanguages_loo.rfc4646_subtag | html %])
149
                                                                </option>
149
                                                                </option>
150
                                                            [% ELSE %]
150
                                                            [% ELSE %]
151
                                                                <option value="[% languages_loo.rfc4646_subtag %]">
151
                                                                <option value="[% languages_loo.rfc4646_subtag | html %]">
152
                                                                    [% sublanguages_loo.native_description %]
152
                                                                    [% sublanguages_loo.native_description | html %]
153
                                                                    [% sublanguages_loo.script_description %]
153
                                                                    [% sublanguages_loo.script_description | html %]
154
                                                                    [% sublanguages_loo.region_description %]
154
                                                                    [% sublanguages_loo.region_description | html %]
155
                                                                    [% sublanguages_loo.variant_description %]
155
                                                                    [% sublanguages_loo.variant_description | html %]
156
                                                                    ([% sublanguages_loo.rfc4646_subtag %])
156
                                                                    ([% sublanguages_loo.rfc4646_subtag | html %])
157
                                                                </option>
157
                                                                </option>
158
                                                            [% END %]
158
                                                            [% END %]
159
                                                        [% END %]
159
                                                        [% END %]
Lines 161-179 Link Here
161
                                                [% ELSE %]
161
                                                [% ELSE %]
162
                                                    [% IF ( languages_loo.group_enabled ) %]
162
                                                    [% IF ( languages_loo.group_enabled ) %]
163
                                                        [% IF ( languages_loo.current ) %]
163
                                                        [% IF ( languages_loo.current ) %]
164
                                                            <option value="[% languages_loo.rfc4646_subtag %]" selected>
164
                                                            <option value="[% languages_loo.rfc4646_subtag | html %]" selected>
165
                                                                [% IF ( languages_loo.native_description ) %]
165
                                                                [% IF ( languages_loo.native_description ) %]
166
                                                                    [% languages_loo.native_description %]
166
                                                                    [% languages_loo.native_description | html %]
167
                                                                [% ELSE %]
167
                                                                [% ELSE %]
168
                                                                    [% languages_loo.rfc4646_subtag %]
168
                                                                    [% languages_loo.rfc4646_subtag | html %]
169
                                                                [% END %]
169
                                                                [% END %]
170
                                                            </option>
170
                                                            </option>
171
                                                        [% ELSE %]
171
                                                        [% ELSE %]
172
                                                            <option value="[% languages_loo.rfc4646_subtag %]">
172
                                                            <option value="[% languages_loo.rfc4646_subtag | html %]">
173
                                                                [% IF ( languages_loo.native_description ) %]
173
                                                                [% IF ( languages_loo.native_description ) %]
174
                                                                    [% languages_loo.native_description %]
174
                                                                    [% languages_loo.native_description | html %]
175
                                                                [% ELSE %]
175
                                                                [% ELSE %]
176
                                                                    [% languages_loo.rfc4646_subtag %]
176
                                                                    [% languages_loo.rfc4646_subtag | html %]
177
                                                                [% END %]
177
                                                                [% END %]
178
                                                            </option>
178
                                                            </option>
179
                                                        [% END %]
179
                                                        [% END %]
Lines 183-189 Link Here
183
                                        [% END %]
183
                                        [% END %]
184
                                    </select>
184
                                    </select>
185
                                    <input type="hidden" id="op" name="op" value="share"/>
185
                                    <input type="hidden" id="op" name="op" value="share"/>
186
                                    <input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid %]"/>
186
                                    <input type="hidden" id="subscriptionid" name="subscriptionid" value="[% subscriptionid | $raw %]"/>
187
                                </fieldset>
187
                                </fieldset>
188
                            </form>
188
                            </form>
189
                        </div>
189
                        </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/guided_reports_start.tt (-21 / +21 lines)
Lines 137-143 canned reports and writing custom SQL reports.</p> Link Here
137
137
138
[% IF report_converted %]
138
[% IF report_converted %]
139
    <div class="dialog message">
139
    <div class="dialog message">
140
        The report "[% report_converted %]" has been converted.
140
        The report "[% report_converted | html %]" has been converted.
141
    </div>
141
    </div>
142
[% END %]
142
[% END %]
143
143
Lines 179-185 canned reports and writing custom SQL reports.</p> Link Here
179
<div style="display:inline-block">
179
<div style="display:inline-block">
180
    [% IF manamsg %]
180
    [% IF manamsg %]
181
     <div id="mana_search" class="dialog message">
181
     <div id="mana_search" class="dialog message">
182
        <p> [% manamsg %] </p>
182
        <p> [% manamsg | html %] </p>
183
    </div>
183
    </div>
184
    [% END %]
184
    [% END %]
185
185
Lines 377-397 canned reports and writing custom SQL reports.</p> Link Here
377
                                                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
377
                                                [% FOREACH sublanguages_loo IN languages_loo.sublanguages_loop %]
378
                                                    [% IF ( sublanguages_loo.enabled ) %]
378
                                                    [% IF ( sublanguages_loo.enabled ) %]
379
                                                        [% IF ( sublanguages_loo.sublanguage_current ) %]
379
                                                        [% IF ( sublanguages_loo.sublanguage_current ) %]
380
                                                            <option value="[% languages_loo.rfc4646_subtag %]" selected>
380
                                                            <option value="[% languages_loo.rfc4646_subtag | html %]" selected>
381
                                                                [% sublanguages_loo.native_description %]
381
                                                                [% sublanguages_loo.native_description | html %]
382
                                                                [% sublanguages_loo.script_description %]
382
                                                                [% sublanguages_loo.script_description | html %]
383
                                                                [% sublanguages_loo.region_description %]
383
                                                                [% sublanguages_loo.region_description | html %]
384
384
385
                                                                [% sublanguages_loo.variant_description %]
385
                                                                [% sublanguages_loo.variant_description | html %]
386
                                                                ([% sublanguages_loo.rfc4646_subtag %])
386
                                                                ([% sublanguages_loo.rfc4646_subtag | html %])
387
                                                            </option>
387
                                                            </option>
388
                                                        [% ELSE %]
388
                                                        [% ELSE %]
389
                                                            <option value="[% languages_loo.rfc4646_subtag %]">
389
                                                            <option value="[% languages_loo.rfc4646_subtag | html %]">
390
                                                                [% sublanguages_loo.native_description %]
390
                                                                [% sublanguages_loo.native_description | html %]
391
                                                                [% sublanguages_loo.script_description %]
391
                                                                [% sublanguages_loo.script_description | html %]
392
                                                                [% sublanguages_loo.region_description %]
392
                                                                [% sublanguages_loo.region_description | html %]
393
                                                                [% sublanguages_loo.variant_description %]
393
                                                                [% sublanguages_loo.variant_description | html %]
394
                                                                ([% sublanguages_loo.rfc4646_subtag %])
394
                                                                ([% sublanguages_loo.rfc4646_subtag | html %])
395
                                                            </option>
395
                                                            </option>
396
                                                        [% END %]
396
                                                        [% END %]
397
                                                    [% END %]
397
                                                    [% END %]
Lines 399-417 canned reports and writing custom SQL reports.</p> Link Here
399
                                            [% ELSE %]
399
                                            [% ELSE %]
400
                                                [% IF ( languages_loo.group_enabled ) %]
400
                                                [% IF ( languages_loo.group_enabled ) %]
401
                                                    [% IF ( languages_loo.current ) %]
401
                                                    [% IF ( languages_loo.current ) %]
402
                                                        <option value="[% languages_loo.rfc4646_subtag %]" selected>
402
                                                        <option value="[% languages_loo.rfc4646_subtag | html %]" selected>
403
                                                            [% IF ( languages_loo.native_description ) %]
403
                                                            [% IF ( languages_loo.native_description ) %]
404
                                                                [% languages_loo.native_description %]
404
                                                                [% languages_loo.native_description | html %]
405
                                                            [% ELSE %]
405
                                                            [% ELSE %]
406
                                                                [% languages_loo.rfc4646_subtag %]
406
                                                                [% languages_loo.rfc4646_subtag | html %]
407
                                                            [% END %]
407
                                                            [% END %]
408
                                                        </option>
408
                                                        </option>
409
                                                    [% ELSE %]
409
                                                    [% ELSE %]
410
                                                        <option value="[% languages_loo.rfc4646_subtag %]">
410
                                                        <option value="[% languages_loo.rfc4646_subtag | html %]">
411
                                                            [% IF ( languages_loo.native_description ) %]
411
                                                            [% IF ( languages_loo.native_description ) %]
412
                                                                [% languages_loo.native_description %]
412
                                                                [% languages_loo.native_description | html %]
413
                                                            [% ELSE %]
413
                                                            [% ELSE %]
414
                                                                [% languages_loo.rfc4646_subtag %]
414
                                                                [% languages_loo.rfc4646_subtag | html %]
415
                                                            [% END %]
415
                                                            [% END %]
416
                                                        </option>
416
                                                        </option>
417
                                                    [% END %]
417
                                                    [% END %]
Lines 422-428 canned reports and writing custom SQL reports.</p> Link Here
422
                                </select>
422
                                </select>
423
                            </fieldset>
423
                            </fieldset>
424
                        [% ELSE %]
424
                        [% ELSE %]
425
                            <input type="hidden" name="mana_language" value="[% lang %]">
425
                            <input type="hidden" name="mana_language" value="[% lang | html %]">
426
                        [% END %]
426
                        [% END %]
427
                        <input type="hidden" id="reportid" name="reportid"/>
427
                        <input type="hidden" id="reportid" name="reportid"/>
428
                    </form>
428
                    </form>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/serials-search.tt (-1 / +1 lines)
Lines 516-522 Link Here
516
                $(".ui-datepicker-trigger").hide();
516
                $(".ui-datepicker-trigger").hide();
517
                $("label[for=location], select#location_filter").hide();
517
                $("label[for=location], select#location_filter").hide();
518
                [% FOR field IN additional_fields_for_subscription %]
518
                [% FOR field IN additional_fields_for_subscription %]
519
                      $("label[for=additional_field_[% field.id %]], input#additional_field_[% field.id %]").hide();
519
                      $("label[for=additional_field_[% field.id | $raw %]], input#additional_field_[% field.id | $raw %]").hide();
520
                [% END %]
520
                [% END %]
521
            [% END %]
521
            [% END %]
522
        });
522
        });
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-add.tt (-1 / +1 lines)
Lines 529-535 width: 300px; /* not enough for IE7 apparently */ Link Here
529
        [% FOREACH field IN dont_export_field_loop %]
529
        [% FOREACH field IN dont_export_field_loop %]
530
            tags.push("[% field.fieldid | html %]");
530
            tags.push("[% field.fieldid | html %]");
531
        [% END %]
531
        [% END %]
532
        var mana_enabled = [% Koha.Preference('Mana') %]
532
        var mana_enabled = [% Koha.Preference('Mana') | html %]
533
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
533
        var MSG_LINK_TO_VENDOR = _("If you wish to claim late or missing issues you must link this subscription to a vendor. Click OK to ignore or Cancel to return and enter a vendor");
534
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
534
        var MSG_LINK_BIBLIO = _("You must choose or create a bibliographic record");
535
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
535
        var MSG_REQUIRED_SUB_LENGTH = _("You must choose a subscription length or an end date.");
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/serials/subscription-detail.tt (-2 / +1 lines)
Lines 61-67 Link Here
61
    [% IF mana_code.defined %]
61
    [% IF mana_code.defined %]
62
        <div id="alert-community" class="dialog message">
62
        <div id="alert-community" class="dialog message">
63
            <p>
63
            <p>
64
                [% mana_code %]
64
                [% mana_code | html %]
65
            </p>
65
            </p>
66
        </div>
66
        </div>
67
    [% END %]
67
    [% END %]
68
- 

Return to bug 17047