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

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/tools-menu.inc (-3 / +3 lines)
Lines 8-14 Link Here
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
9
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
9
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
10
  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
10
  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
11
<h5>Patrons and circulation</h5>
11
<h2>Patrons and circulation</h2>
12
<ul>
12
<ul>
13
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
13
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
14
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
14
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
Lines 54-60 Link Here
54
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
54
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
55
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
55
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
56
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
56
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
57
<h5>Catalog</h5>
57
<h2>Catalog</h2>
58
<ul>
58
<ul>
59
    [% IF ( CAN_user_tools_items_batchdel ) %]
59
    [% IF ( CAN_user_tools_items_batchdel ) %]
60
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
60
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
Lines 104-110 Link Here
104
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
104
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
105
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )
105
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )
106
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
106
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
107
<h5>Additional tools</h5>
107
<h2>Additional tools</h2>
108
<ul>
108
<ul>
109
    [% IF ( CAN_user_tools_edit_calendar ) %]
109
    [% IF ( CAN_user_tools_edit_calendar ) %]
110
	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
110
	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/automatic_item_modification_by_age.tt (-9 / +9 lines)
Lines 86-99 Link Here
86
                [% FOR rule IN rules %]
86
                [% FOR rule IN rules %]
87
                  [% SET id = loop.count %]
87
                  [% SET id = loop.count %]
88
                  <fieldset class="rule">
88
                  <fieldset class="rule">
89
                    <legend>Rule <span class="rulecount">[% loop.count | html %]</span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
89
                      <legend><h2>Rule <span class="rulecount">[% loop.count | html %]</span></h2> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
90
                    <input type="hidden" name="unique_id" value="[% loop.count | html %]" /> <!-- FIXME on update, the unique_id should be filled -->
90
                    <input type="hidden" name="unique_id" value="[% loop.count | html %]" /> <!-- FIXME on update, the unique_id should be filled -->
91
                    <div class="age">
91
                    <div class="age">
92
                      <h5>Age in days</h5>
92
                      <h3>Age in days</h3>
93
                      <input class="age" type="text" inputmode="numeric" pattern="[0-9]*"  value="[% rule.age | html %]" name="age_[% id | html %]" />
93
                      <input class="age" type="text" inputmode="numeric" pattern="[0-9]*"  value="[% rule.age | html %]" name="age_[% id | html %]" />
94
                    </div>
94
                    </div>
95
                    <div class="blocks">
95
                    <div class="blocks">
96
                      <h5>Conditions</h5>
96
                      <h3>Conditions</h3>
97
                      [% FOR condition IN rule.conditions %]
97
                      [% FOR condition IN rule.conditions %]
98
                        <div class="block">
98
                        <div class="block">
99
                          <select name="condition_field_[% id | html %]">
99
                          <select name="condition_field_[% id | html %]">
Lines 114-120 Link Here
114
                      [% END %]
114
                      [% END %]
115
                    </div>
115
                    </div>
116
                    <div class="blocks">
116
                    <div class="blocks">
117
                      <h5>Substitutions</h5>
117
                      <h3>Substitutions</h3>
118
                      [% FOR substitution IN rule.substitutions %]
118
                      [% FOR substitution IN rule.substitutions %]
119
                        <div class="block">
119
                        <div class="block">
120
                          <select class="required" required="required" name="substitution_field_[% id | html %]">
120
                          <select class="required" required="required" name="substitution_field_[% id | html %]">
Lines 147-160 Link Here
147
        </div>
147
        </div>
148
148
149
          <fieldset id="new_rule">
149
          <fieldset id="new_rule">
150
            <legend>Rule <span class="rulecount"></span> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
150
              <legend><h2>Rule <span class="rulecount"></span></h2> <a href="#" class="remove_rule"><i class="fa fa-trash"></i> Remove this rule</a></legend>
151
            <input type="hidden" name="unique_id" />
151
            <input type="hidden" name="unique_id" />
152
            <div class="age">
152
            <div class="age">
153
              <h5>Age in days</h5>
153
              <h3>Age in days</h3>
154
              <input class="age" type="text" inputmode="numeric" pattern="[0-9]*" value="" name="age" />
154
              <input class="age" type="text" inputmode="numeric" pattern="[0-9]*" value="" name="age" />
155
            </div>
155
            </div>
156
            <div class="blocks">
156
            <div class="blocks">
157
              <h5>Conditions</h5>
157
              <h3>Conditions</h3>
158
              <div class="block">
158
              <div class="block">
159
                <select name="condition_field">
159
                <select name="condition_field">
160
                  <option value="">Choose a field name</option>
160
                  <option value="">Choose a field name</option>
Lines 169-175 Link Here
169
              </div>
169
              </div>
170
            </div>
170
            </div>
171
            <div class="blocks">
171
            <div class="blocks">
172
              <h5>Substitutions</h5>
172
              <h3>Substitutions</h3>
173
              <div class="block">
173
              <div class="block">
174
                <select required="required" class="required" name="substitution_field">
174
                <select required="required" class="required" name="substitution_field">
175
                  <option value="">Choose a field name</option>
175
                  <option value="">Choose a field name</option>
Lines 187-193 Link Here
187
          </fieldset>
187
          </fieldset>
188
        [% ELSIF rules %]
188
        [% ELSIF rules %]
189
            <div>
189
            <div>
190
                <h4>List of rules</h4>
190
                <h2>List of rules</h2>
191
                    <table id="rulest">
191
                    <table id="rulest">
192
                        <thead>
192
                        <thead>
193
                          <tr>
193
                          <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batchMod-edit.tt (-2 / +2 lines)
Lines 86-92 Link Here
86
86
87
            [% IF ( item_loop ) %]
87
            [% IF ( item_loop ) %]
88
                [% UNLESS ( too_many_items_display ) %]
88
                [% UNLESS ( too_many_items_display ) %]
89
                    <h4>The following barcodes were found: </h4>
89
                    <h2>The following barcodes were found: </h2>
90
                [% END %]
90
                [% END %]
91
            [% END %]
91
            [% END %]
92
        [% END # /IF notfoundbarcodes.size %]
92
        [% END # /IF notfoundbarcodes.size %]
Lines 108-114 Link Here
108
            </table>
108
            </table>
109
            [% IF ( item_loop ) %]
109
            [% IF ( item_loop ) %]
110
                [% UNLESS ( too_many_items_display ) %]
110
                [% UNLESS ( too_many_items_display ) %]
111
                    <h4>The following itemnumbers were found: </h4>
111
                    <h2>The following itemnumbers were found: </h2>
112
                [% END %]
112
                [% END %]
113
            [% END %]
113
            [% END %]
114
        [% END # /IF notfounditemnumbers.size %]
114
        [% END # /IF notfounditemnumbers.size %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/batch_record_modification.tt (-1 / +1 lines)
Lines 166-172 Link Here
166
                                        <div class="modal-content">
166
                                        <div class="modal-content">
167
                                            <div class="modal-header">
167
                                            <div class="modal-header">
168
                                                <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
168
                                                <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
169
                                                <h3 id="marcPreviewLabel">MARC preview</h3>
169
                                                <h2 id="marcPreviewLabel">MARC preview</h2>
170
                                            </div>
170
                                            </div>
171
                                            <div class="modal-body">
171
                                            <div class="modal-body">
172
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
172
                                                <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/cleanborrowers.tt (-12 / +16 lines)
Lines 104-112 Link Here
104
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
104
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
105
    <fieldset>
105
    <fieldset>
106
    <legend>Delete patrons</legend>
106
    <legend>Delete patrons</legend>
107
        <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label></h3>
107
        <input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label>
108
        <br />
108
        <br /
109
        <h5>Delete patrons who meet the following criteria:</h5>
109
        <br>
110
        <br>
111
        <p><strong>Delete patrons who meet the following criteria:</strong></p>
110
        <ul>
112
        <ul>
111
                <li>
113
                <li>
112
                    <label for="date1">who have not borrowed since:</label>
114
                    <label for="date1">who have not borrowed since:</label>
Lines 155-162 Link Here
155
        [% UNLESS Koha.Preference('AnonymousPatron') %]
157
        [% UNLESS Koha.Preference('AnonymousPatron') %]
156
            <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div>
158
            <div class="dialog message">The AnonymousPatron system preference is not defined. You can use this feature anyway but NULL will be used to update the checkout history.</div>
157
        [% END %]
159
        [% END %]
158
        <h3><input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label></h3>
160
        <input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label>
159
        <br />
161
        <br />
162
        <br>
163
        <br>
160
        <ul>
164
        <ul>
161
            <li>
165
            <li>
162
                <label for="date2">Permanently delete checkout history older than</label>
166
                <label for="date2">Permanently delete checkout history older than</label>
Lines 181-187 Link Here
181
        <form name="f2" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
185
        <form name="f2" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
182
186
183
        <div class="dialog alert">
187
        <div class="dialog alert">
184
            <h3>Warning</h3>
188
            <h2>Warning</h2>
185
            <ul>
189
            <ul>
186
                <li>[% patrons_to_delete.size || 0 | html %] patrons will be deleted</li>
190
                <li>[% patrons_to_delete.size || 0 | html %] patrons will be deleted</li>
187
                <li>[% patrons_to_anonymize.count || 0 | html %] patrons' checkout histories will be anonymized</li>
191
                <li>[% patrons_to_anonymize.count || 0 | html %] patrons' checkout histories will be anonymized</li>
Lines 241-263 Link Here
241
245
242
    <div id="step3">
246
    <div id="step3">
243
        [% IF ( testrun ) %]
247
        [% IF ( testrun ) %]
244
            <h4>[% TotalDel | html %] patrons would have been removed (if it wasn't a test run)</h4>
248
        <p><strong>[% TotalDel | html %] patrons would have been removed (if it wasn't a test run)</strong></p>
245
            <h4>No patron records have been actually removed</h4>
249
        <p><strong>No patron records have been actually removed</strong></p>
246
        [% ELSE %]
250
        [% ELSE %]
247
            [% IF ( do_delete ) %]
251
            [% IF ( do_delete ) %]
248
                [% IF ( trash ) %]
252
                [% IF ( trash ) %]
249
                    <h4>[% TotalDel | html %] patrons have been successfully moved to trash</h4>
253
                <p><strong>[% TotalDel | html %] patrons have been successfully moved to trash</strong></p>
250
                [% ELSE %]
254
                [% ELSE %]
251
                    <h4>[% TotalDel | html %] patrons have been successfully deleted</h4>
255
                <p><strong>[% TotalDel | html %] patrons have been successfully deleted</strong></p>
252
                [% END %]
256
                [% END %]
253
            [% ELSE %]
257
            [% ELSE %]
254
                <h4>No patron records have been removed</h4>
258
            <p><strong>No patron records have been removed</strong></p>
255
            [% END %]
259
            [% END %]
256
        [% END %]
260
        [% END %]
257
        [% IF do_anonym %]
261
        [% IF do_anonym %]
258
            <h4>All checkouts ([% do_anonym | html %]) older than [% last_issue_date | $KohaDates %] have been anonymized</h4>
262
        <p><strong>All checkouts ([% do_anonym | html %]) older than [% last_issue_date | $KohaDates %] have been anonymized</strong></p>
259
        [% ELSE %]
263
        [% ELSE %]
260
            <h4>No patron records have been anonymized</h4>
264
        <p><strong>No patron records have been anonymized</strong></p>
261
        [% END %]
265
        [% END %]
262
266
263
    </div>
267
    </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-9 / +9 lines)
Lines 50-56 Link Here
50
         <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
50
         <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
51
             <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
51
             <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
52
            <fieldset class="brief">
52
            <fieldset class="brief">
53
            <h3>Edit this holiday</h3>
53
            <h2>Edit this holiday</h2>
54
            <span id="holtype"></span>
54
            <span id="holtype"></span>
55
            <ol>
55
            <ol>
56
            <li>
56
            <li>
Lines 127-133 Link Here
127
    <div class="panel" id="newHoliday">
127
    <div class="panel" id="newHoliday">
128
         <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
128
         <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
129
            <fieldset class="brief">
129
            <fieldset class="brief">
130
            <h3>Add new holiday</h3>
130
            <h2>Add new holiday</h2>
131
            <ol>
131
            <ol>
132
            <li>
132
            <li>
133
                <strong>Library:</strong>
133
                <strong>Library:</strong>
Lines 200-206 Link Here
200
<!-- ************************************************************************************** -->
200
<!-- ************************************************************************************** -->
201
<!-- ******                              MAIN SCREEN CODE                            ****** -->
201
<!-- ******                              MAIN SCREEN CODE                            ****** -->
202
<!-- ************************************************************************************** -->
202
<!-- ************************************************************************************** -->
203
<h3>Calendar information</h3>
203
<h2>Calendar information</h2>
204
<div id="jcalendar-container"></div>
204
<div id="jcalendar-container"></div>
205
205
206
<div style="margin-top: 2em;">
206
<div style="margin-top: 2em;">
Lines 220-226 Link Here
220
</div>
220
</div>
221
<div class="col-sm-6">
221
<div class="col-sm-6">
222
<div class="help">
222
<div class="help">
223
<h4>Hints</h4>
223
<h2>Hints</h2>
224
    <ul>
224
    <ul>
225
        <li>Search in the calendar the day you want to set as holiday.</li>
225
        <li>Search in the calendar the day you want to set as holiday.</li>
226
        <li>Click the date to add or edit a holiday.</li>
226
        <li>Click the date to add or edit a holiday.</li>
Lines 228-234 Link Here
228
        <li>Specify how the holiday should repeat.</li>
228
        <li>Specify how the holiday should repeat.</li>
229
        <li>Click Save to finish.</li>
229
        <li>Click Save to finish.</li>
230
    </ul>
230
    </ul>
231
<h4>Key</h4>
231
<h2>Key</h2>
232
    <p>
232
    <p>
233
        <span class="key normalday">Working day</span>
233
        <span class="key normalday">Working day</span>
234
        <span class="key holiday">Unique holiday</span>
234
        <span class="key holiday">Unique holiday</span>
Lines 241-247 Link Here
241
<!-- Exceptions First -->
241
<!-- Exceptions First -->
242
<!--   this will probably always have the least amount of data -->
242
<!--   this will probably always have the least amount of data -->
243
[% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
243
[% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
244
<h3>Exceptions</h3>
244
<h2>Exceptions</h2>
245
    <label class="controls">
245
    <label class="controls">
246
        <input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" />
246
        <input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" />
247
        Show past entries
247
        Show past entries
Lines 270-276 Link Here
270
[% END %]
270
[% END %]
271
271
272
[% IF ( WEEK_DAYS_LOOP ) %]
272
[% IF ( WEEK_DAYS_LOOP ) %]
273
<h3>Weekly - Repeatable holidays</h3>
273
<h2>Weekly - Repeatable holidays</h2>
274
<table id="holidayweeklyrepeatable">
274
<table id="holidayweeklyrepeatable">
275
<thead>
275
<thead>
276
<tr>
276
<tr>
Lines 293-299 Link Here
293
[% END %]
293
[% END %]
294
294
295
[% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
295
[% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
296
<h3>Yearly - Repeatable holidays</h3>
296
<h2>Yearly - Repeatable holidays</h2>
297
<table id="holidaysyearlyrepeatable">
297
<table id="holidaysyearlyrepeatable">
298
<thead>
298
<thead>
299
<tr>
299
<tr>
Lines 321-327 Link Here
321
[% END %]
321
[% END %]
322
322
323
[% IF ( HOLIDAYS_LOOP ) %]
323
[% IF ( HOLIDAYS_LOOP ) %]
324
<h3>Unique holidays</h3>
324
<h2>Unique holidays</h2>
325
<label class="controls">
325
<label class="controls">
326
    <input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" />
326
    <input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" />
327
    Show past entries
327
    Show past entries
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/import_borrowers.tt (-3 / +3 lines)
Lines 59-65 Link Here
59
     <div class="col-sm-6">
59
     <div class="col-sm-6">
60
<h1>Import patrons</h1>
60
<h1>Import patrons</h1>
61
[% IF ( uploadborrowers ) %]
61
[% IF ( uploadborrowers ) %]
62
    <h5>Import results :</h5>
62
    <h2>Import results :</h2>
63
    <ul>
63
    <ul>
64
        <li>[% imported | html %] imported records [% IF ( lastimported ) %](last was [% lastimported | html %])[% END %]</li>
64
        <li>[% imported | html %] imported records [% IF ( lastimported ) %](last was [% lastimported | html %])[% END %]</li>
65
        [% IF imported and patronlistname %]
65
        [% IF imported and patronlistname %]
Lines 76-82 Link Here
76
        <br /><br />
76
        <br /><br />
77
77
78
        <div>
78
        <div>
79
            <h5>Feedback:</h5>
79
            <h2>Feedback:</h2>
80
                <ul class="feedback">
80
                <ul class="feedback">
81
                    [% FOREACH f IN feedback %]
81
                    [% FOREACH f IN feedback %]
82
                        <li>
82
                        <li>
Lines 101-107 Link Here
101
        <br /><br />
101
        <br /><br />
102
102
103
        <div>
103
        <div>
104
            <h5>Error analysis:</h5>
104
            <h2>Error analysis:</h2>
105
            <ul>
105
            <ul>
106
                [% FOREACH e IN errors %]
106
                [% FOREACH e IN errors %]
107
                    [% IF ( e.badheader ) %]<li>Header row could not be parsed</li>[% END %]
107
                    [% IF ( e.badheader ) %]<li>Header row could not be parsed</li>[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/koha-news.tt (-2 / +2 lines)
Lines 192-198 Link Here
192
                                    <div class="modal-dialog" role="document">
192
                                    <div class="modal-dialog" role="document">
193
                                        <div class="modal-content modal-lg">
193
                                        <div class="modal-content modal-lg">
194
                                            <div class="modal-header">
194
                                            <div class="modal-header">
195
                                                <h5 class="modal-title">Preview of: "[% opac_new.title | html %]"</h5>
195
                                                <h2 class="modal-title">Preview of: "[% opac_new.title | html %]"</h2>
196
                                            </div>
196
                                            </div>
197
                                        <div class="modal-body">
197
                                        <div class="modal-body">
198
                                            [% opac_new.content | $raw %]
198
                                            [% opac_new.content | $raw %]
Lines 247-253 Link Here
247
247
248
                        <div id="news-filter">
248
                        <div id="news-filter">
249
                            <form action="/cgi-bin/koha/tools/koha-news.pl" method="get">
249
                            <form action="/cgi-bin/koha/tools/koha-news.pl" method="get">
250
                                <h4>Filter</h4>
250
                                <h2>Filter</h2>
251
                                <fieldset class="brief">
251
                                <fieldset class="brief">
252
                                    <ol>
252
                                    <ol>
253
                                        <li>
253
                                        <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt (-1 / +2 lines)
Lines 95-101 Link Here
95
            <div class="modal-content">
95
            <div class="modal-content">
96
                <div class="modal-header">
96
                <div class="modal-header">
97
                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
97
                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
98
                    <h3 id="preview_template_label">Preview notice template</h3>
98
                    <h2 id="preview_template_label">Preview notice template</h2>
99
                </div>
99
                </div>
100
                <div class="modal-body">
100
                <div class="modal-body">
101
                    <div id="loading">
101
                    <div id="loading">
Lines 270-275 Link Here
270
                    </div> <!-- /#toolbar -->
270
                    </div> <!-- /#toolbar -->
271
271
272
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
272
                    <form id="add_notice" name="Aform" method="post" enctype="multipart/form-data" class="validate">
273
                        <legend class="sr-only"><h2>Add details for notice</h2></legend>
273
                        [% IF add_form %]
274
                        [% IF add_form %]
274
                            <input type="hidden" name="op" id="op" value="add_validate" />
275
                            <input type="hidden" name="op" id="op" value="add_validate" />
275
                        [% ELSE %]
276
                        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/manage-marc-import.tt (-1 / +1 lines)
Lines 429-435 Link Here
429
                                <div class="modal-content">
429
                                <div class="modal-content">
430
                                    <div class="modal-header">
430
                                    <div class="modal-header">
431
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
431
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
432
                                        <h3 id="marcPreviewLabel">MARC preview</h3>
432
                                        <h2 id="marcPreviewLabel">MARC preview</h2>
433
                                    </div>
433
                                    </div>
434
                                    <div class="modal-body">
434
                                    <div class="modal-body">
435
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
435
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/modborrowers.tt (-1 / +1 lines)
Lines 112-118 Link Here
112
                    [% IF ( op == 'show_results' ) %]
112
                    [% IF ( op == 'show_results' ) %]
113
                        [% IF ( errors ) %]
113
                        [% IF ( errors ) %]
114
                            <div class="dialog alert">
114
                            <div class="dialog alert">
115
                            <h4>Errors occurred:</h4>
115
                            <h2>Errors occurred:</h2>
116
                            <ul class="warnings">
116
                            <ul class="warnings">
117
                            [% FOREACH error IN errors %]
117
                            [% FOREACH error IN errors %]
118
                                [% IF ( error.error == 'can_not_update' ) %]
118
                                [% IF ( error.error == 'can_not_update' ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/overduerules.tt (-2 / +2 lines)
Lines 49-55 Link Here
49
            </form>
49
            </form>
50
            [% IF ( ERROR ) %]
50
            [% IF ( ERROR ) %]
51
            <div class="dialog alert">
51
            <div class="dialog alert">
52
                <h3>Data error</h3>
52
                <h2>Data error</h2>
53
                <p>The following errors were found. Please correct them and submit again:</p>
53
                <p>The following errors were found. Please correct them and submit again:</p>
54
                <ul>
54
                <ul>
55
                [% IF ( ERRORDELAY ) %]
55
                [% IF ( ERRORDELAY ) %]
Lines 68-74 Link Here
68
            <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
68
            <form method="post" action="/cgi-bin/koha/tools/overduerules.pl">
69
                <input type="hidden" name="op" value="save" />
69
                <input type="hidden" name="op" value="save" />
70
                <input type="hidden" name="branch" value="[% branch | html %]" />
70
                <input type="hidden" name="branch" value="[% branch | html %]" />
71
                <h3>Rules for overdue actions: [% IF ( branch ) %][% Branches.GetName( branch ) | html %][% ELSE %] default library [% END %]</h3>
71
                <h2>Rules for overdue actions: [% IF ( branch ) %][% Branches.GetName( branch ) | html %][% ELSE %] default library [% END %]</h2>
72
                    [% IF ( datasaved ) %]<div class="dialog message">Changes saved.</div> [% END %]
72
                    [% IF ( datasaved ) %]<div class="dialog message">Changes saved.</div> [% END %]
73
73
74
  <div id="rulestabs" class="toptabs">
74
  <div id="rulestabs" class="toptabs">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/preview_letter.tt (-4 / +4 lines)
Lines 32-38 Link Here
32
            [% IF rendered_message %]
32
            [% IF rendered_message %]
33
                <div class="row">
33
                <div class="row">
34
                    <div class="col-xs-6">
34
                    <div class="col-xs-6">
35
                        <h3>Original version</h3>
35
                        <h2>Original version</h2>
36
                        <span style="font-family:monospace">
36
                        <span style="font-family:monospace">
37
                            [% FILTER html_line_break %]
37
                            [% FILTER html_line_break %]
38
                                [% original_content | html %]
38
                                [% original_content | html %]
Lines 40-46 Link Here
40
                        </span>
40
                        </span>
41
                    </div>
41
                    </div>
42
                    <div class="col-xs-6">
42
                    <div class="col-xs-6">
43
                        <h3>Original message, rendered:</h3>
43
                        <h2>Original message, rendered:</h2>
44
                        <span style="font-family:monospace">
44
                        <span style="font-family:monospace">
45
                            [% FILTER html_line_break %]
45
                            [% FILTER html_line_break %]
46
                                [% rendered_message.content | html %]
46
                                [% rendered_message.content | html %]
Lines 55-61 Link Here
55
            <hr />
55
            <hr />
56
                <div class="row">
56
                <div class="row">
57
                    <div class="col-xs-6">
57
                    <div class="col-xs-6">
58
                        <h3>Converted version</h3>
58
                        <h2>Converted version</h2>
59
                        <span style="font-family:monospace">
59
                        <span style="font-family:monospace">
60
                            [% FILTER html_line_break %]
60
                            [% FILTER html_line_break %]
61
                                [% tt_content | html %]
61
                                [% tt_content | html %]
Lines 63-69 Link Here
63
                        </span>
63
                        </span>
64
                    </div>
64
                    </div>
65
                    <div class="col-xs-6">
65
                    <div class="col-xs-6">
66
                        <h3>Converted message, rendered:</h3>
66
                        <h2>Converted message, rendered:</h2>
67
                        <span style="font-family:monospace">
67
                        <span style="font-family:monospace">
68
                            [% FILTER html_line_break %]
68
                            [% FILTER html_line_break %]
69
                                [% rendered_tt_message.content | html %]
69
                                [% rendered_tt_message.content | html %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-1 / +1 lines)
Lines 123-129 Link Here
123
            <div class="modal-content">
123
            <div class="modal-content">
124
                <div class="modal-header">
124
                <div class="modal-header">
125
                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
125
                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
126
                    <h3 id="delete_confirm_modal_label">Delete quote</h3>
126
                    <h2 id="delete_confirm_modal_label">Delete quote</h2>
127
                </div>
127
                </div>
128
                <div class="modal-body">
128
                <div class="modal-body">
129
                    <div id="delete_confirm_dialog"></div>
129
                    <div id="delete_confirm_dialog"></div>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/stockrotation.tt (-13 / +13 lines)
Lines 159-165 Link Here
159
159
160
                    [% IF error == 'invalid_form' %]
160
                    [% IF error == 'invalid_form' %]
161
                    <div class="dialog alert">
161
                    <div class="dialog alert">
162
                        <h3>There was a problem with your form submission</h3>
162
                        <h2>There was a problem with your form submission</h2>
163
                    </div>
163
                    </div>
164
                    [% END %]
164
                    [% END %]
165
165
Lines 205-211 Link Here
205
205
206
                    [% IF error == 'invalid_form' %]
206
                    [% IF error == 'invalid_form' %]
207
                    <div class="dialog alert">
207
                    <div class="dialog alert">
208
                        <h3>There was a problem with your form submission</h3>
208
                        <h2>There was a problem with your form submission</h2>
209
                    </div>
209
                    </div>
210
                    [% END %]
210
                    [% END %]
211
211
Lines 229-235 Link Here
229
                                <div class="modal-content">
229
                                <div class="modal-content">
230
                                    <div class="modal-header">
230
                                    <div class="modal-header">
231
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
231
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
232
                                        <h4 class="modal-title" id="addStageLabel">Add stage to <em>[% rota.title | html %]</em></h4>
232
                                        <h2 class="modal-title" id="addStageLabel">Add stage to <em>[% rota.title | html %]</em></h2>
233
                                    </div>
233
                                    </div>
234
                                    <div class="modal-body">
234
                                    <div class="modal-body">
235
                                        <fieldset class="rows">
235
                                        <fieldset class="rows">
Lines 301-307 Link Here
301
                    [% ELSE %]
301
                    [% ELSE %]
302
302
303
                        <div class="dialog message">
303
                        <div class="dialog message">
304
                            <h4>This rota has no stages.</h4>
304
                            <h2>This rota has no stages.</h2>
305
                            <p><button type="button" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add a stage</button></p>
305
                            <p><button type="button" data-toggle="modal" data-target="#addStageModal"><i class="fa fa-plus"></i> Add a stage</button></p>
306
                        </div>
306
                        </div>
307
307
Lines 319-325 Link Here
319
319
320
                    [% IF error == 'invalid_form' %]
320
                    [% IF error == 'invalid_form' %]
321
                    <div class="dialog alert">
321
                    <div class="dialog alert">
322
                        <h3>There was a problem with your form submission</h3>
322
                        <h2>There was a problem with your form submission</h2>
323
                    </div>
323
                    </div>
324
                    [% END %]
324
                    [% END %]
325
325
Lines 387-395 Link Here
387
                    [% IF error %]
387
                    [% IF error %]
388
                        <div class="dialog alert">
388
                        <div class="dialog alert">
389
                            [% IF error == "item_not_found" %]
389
                            [% IF error == "item_not_found" %]
390
                                <h3>The item was not found</h3>
390
                                <h2>The item was not found</h2>
391
                            [% ELSIF error == "already_on_rota" %]
391
                            [% ELSIF error == "already_on_rota" %]
392
                                <h3>This item is already on this rota</h3>
392
                                <h2>This item is already on this rota</h2>
393
                            [% END %]
393
                            [% END %]
394
                        </div>
394
                        </div>
395
                    [% END %]
395
                    [% END %]
Lines 403-409 Link Here
403
                                <div class="modal-content">
403
                                <div class="modal-content">
404
                                    <div class="modal-header">
404
                                    <div class="modal-header">
405
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
405
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
406
                                        <h4 class="modal-title" id="addItemsLabel">Add item to <em>[% rota.title | html %]</em></h4>
406
                                        <h2 class="modal-title" id="addItemsLabel">Add item to <em>[% rota.title | html %]</em></h2>
407
                                    </div>
407
                                    </div>
408
                                    <div class="modal-body">
408
                                    <div class="modal-body">
409
                                        <fieldset class="rows">
409
                                        <fieldset class="rows">
Lines 510-516 Link Here
510
                    [% ELSE %]
510
                    [% ELSE %]
511
511
512
                        <div class="dialog message">
512
                        <div class="dialog message">
513
                            <h4>There are no items assigned to this rota.</h4>
513
                            <h2>There are no items assigned to this rota.</h2>
514
                            <p><button type="button" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</button></p>
514
                            <p><button type="button" data-toggle="modal" data-target="#addItemsModal"><i class="fa fa-plus"></i> Add items</button></p>
515
                        </div>
515
                        </div>
516
516
Lines 526-532 Link Here
526
526
527
                    <div>
527
                    <div>
528
                        [% IF barcode_status.ok.size > 0 %]
528
                        [% IF barcode_status.ok.size > 0 %]
529
                            <h4>Items added to rota:</h4>
529
                            <h2>Items added to rota:</h2>
530
                            <ul>
530
                            <ul>
531
                                [% FOREACH item_ok IN barcode_status.ok %]
531
                                [% FOREACH item_ok IN barcode_status.ok %]
532
                                    <li>[% item_ok.biblio.title | html %]</li>
532
                                    <li>[% item_ok.biblio.title | html %]</li>
Lines 534-540 Link Here
534
                            </ul>
534
                            </ul>
535
                        [% END %]
535
                        [% END %]
536
                        [% IF barcode_status.on_this.size > 0 %]
536
                        [% IF barcode_status.on_this.size > 0 %]
537
                            <h4>Items already on this rota:</h4>
537
                            <h2>Items already on this rota:</h2>
538
                            <ul>
538
                            <ul>
539
                                [% FOREACH item_on_this IN barcode_status.on_this %]
539
                                [% FOREACH item_on_this IN barcode_status.on_this %]
540
                                    <li>[% item_on_this.biblio.title | html %]</li>
540
                                    <li>[% item_on_this.biblio.title | html %]</li>
Lines 542-548 Link Here
542
                            </ul>
542
                            </ul>
543
                        [% END %]
543
                        [% END %]
544
                        [% IF barcode_status.not_found.size > 0 %]
544
                        [% IF barcode_status.not_found.size > 0 %]
545
                            <h4>Barcodes not found:</h4>
545
                            <h2>Barcodes not found:</h2>
546
                            <ul>
546
                            <ul>
547
                                [% FOREACH barcode_not_found IN barcode_status.not_found %]
547
                                [% FOREACH barcode_not_found IN barcode_status.not_found %]
548
                                    <li>[% barcode_not_found | html %]</li>
548
                                    <li>[% barcode_not_found | html %]</li>
Lines 550-556 Link Here
550
                            </ul>
550
                            </ul>
551
                        [% END %]
551
                        [% END %]
552
                        [% IF barcode_status.on_other.size > 0 %]
552
                        [% IF barcode_status.on_other.size > 0 %]
553
                            <h4>Items found on other rotas:</h4>
553
                            <h2>Items found on other rotas:</h2>
554
                            <ul>
554
                            <ul>
555
                                [% FOREACH item_on_other IN barcode_status.on_other %]
555
                                [% FOREACH item_on_other IN barcode_status.on_other %]
556
                                    <li>[% item_on_other.biblio.title | html %]</li>
556
                                    <li>[% item_on_other.biblio.title | html %]</li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/tools-home.tt (-3 / +3 lines)
Lines 28-34 Link Here
28
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
28
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons
29
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
29
  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons
30
  || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
30
  || CAN_user_tools_edit_patrons || CAN_user_tools_batch_extend_due_dates || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
31
<h3>Patrons and circulation</h3>
31
<h2>Patrons and circulation</h2>
32
[% END %]
32
[% END %]
33
<dl>
33
<dl>
34
    [% IF (CAN_user_tools_manage_patron_lists) %]
34
    [% IF (CAN_user_tools_manage_patron_lists) %]
Lines 99-105 Link Here
99
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
99
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_news
100
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )
100
  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )
101
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
101
  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
102
<h3>Additional tools</h3>
102
<h2>Additional tools</h2>
103
[% END %]
103
[% END %]
104
<dl>
104
<dl>
105
    [% IF ( CAN_user_tools_edit_calendar ) %]
105
    [% IF ( CAN_user_tools_edit_calendar ) %]
Lines 178-184 Link Here
178
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
178
  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )
179
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
179
  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import
180
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
180
  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
181
<h3>Catalog</h3>
181
<h2>Catalog</h2>
182
[% END %]
182
[% END %]
183
<dl>
183
<dl>
184
    [% IF ( CAN_user_tools_items_batchdel ) %]
184
    [% IF ( CAN_user_tools_items_batchdel ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-2 / +2 lines)
Lines 272-283 Link Here
272
    [% PROCESS closer %]
272
    [% PROCESS closer %]
273
[% ELSIF mode == 'report' %]
273
[% ELSIF mode == 'report' %]
274
    [% IF uploads %]
274
    [% IF uploads %]
275
        <h3>Your request gave the following results:</h3>
275
        <h2>Your request gave the following results:</h2>
276
        [% PROCESS table_results %]
276
        [% PROCESS table_results %]
277
        [% PROCESS closer %]
277
        [% PROCESS closer %]
278
        [% PROCESS back %]
278
        [% PROCESS back %]
279
    [% ELSE %]
279
    [% ELSE %]
280
        <h4>Sorry, your request had no results.</h4>
280
        <h2>Sorry, your request had no results.</h2>
281
        [% PROCESS newsearch %]
281
        [% PROCESS newsearch %]
282
    [% END %]
282
    [% END %]
283
[% END %]
283
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-5 / +4 lines)
Lines 297-303 Link Here
297
			</form>
297
			</form>
298
                [% IF ( do_it ) %]
298
                [% IF ( do_it ) %]
299
                    [% IF ( total ) %]
299
                    [% IF ( total ) %]
300
                        <h3>Log entries</h3>
300
                        <h2>Log entries</h2>
301
                        <div id="toolbar" class="btn-toolbar">
301
                        <div id="toolbar" class="btn-toolbar">
302
                            <a href="#" id="select_none" class="btn btn-link disabled"><i class="fa fa-remove"></i> Check none</a>
302
                            <a href="#" id="select_none" class="btn btn-link disabled"><i class="fa fa-remove"></i> Check none</a>
303
                            <button class="btn btn-link disabled compare_link"><i class="fa fa-columns"></i> Compare selected</button>
303
                            <button class="btn btn-link disabled compare_link"><i class="fa fa-columns"></i> Compare selected</button>
Lines 421-436 Link Here
421
        <div class="modal-content">
421
        <div class="modal-content">
422
            <div class="modal-header">
422
            <div class="modal-header">
423
                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
423
                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
424
                <h4 class="modal-title" id="compareInfoLabel">Compare preference values</h4>
424
                <h2 class="modal-title" id="compareInfoLabel">Compare preference values</h2>
425
            </div>
425
            </div>
426
            <div class="modal-body">
426
            <div class="modal-body">
427
                <div class="row">
427
                <div class="row">
428
                    <div class="compare_pane col-sm-6" id="col1">
428
                    <div class="compare_pane col-sm-6" id="col1">
429
                        <h5>Older version</h5>
429
                        <h3>Older version</h3>
430
                        <pre></pre>
430
                        <pre></pre>
431
                    </div>
431
                    </div>
432
                    <div class="compare_pane col-sm-6" id="col2">
432
                    <div class="compare_pane col-sm-6" id="col2">
433
                        <h5>Newer version</h5>
433
                        <h3>Newer version</h3>
434
                        <pre></pre>
434
                        <pre></pre>
435
                    </div>
435
                    </div>
436
                </div>
436
                </div>
437
- 

Return to bug 27741