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 6-12 Link Here
6
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
6
    <li><a href="/cgi-bin/koha/tools/tools-home.pl">Tools home</a></li>
7
</ul>
7
</ul>
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
8
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || CAN_user_tools_edit_patrons || CAN_user_tools_moderate_tags || ( CAN_user_tools_batch_upload_patron_images && Koha.Preference('patronimages') ) ) %]
9
<h5>Patrons and circulation</h5>
9
<h2>Patrons and circulation</h2>
10
<ul>
10
<ul>
11
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
11
    [% IF ( CAN_user_tools_manage_patron_lists ) %]
12
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
12
	<li><a href="/cgi-bin/koha/patron_lists/lists.pl">Patron lists</a></li>
Lines 47-53 Link Here
47
</ul>
47
</ul>
48
[% END %]
48
[% END %]
49
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
49
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
50
<h5>Catalog</h5>
50
<h2>Catalog</h2>
51
<ul>
51
<ul>
52
    [% IF ( CAN_user_tools_items_batchdel ) %]
52
    [% IF ( CAN_user_tools_items_batchdel ) %]
53
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
53
	<li><a href="/cgi-bin/koha/tools/batchMod.pl?del=1">Batch item deletion</a></li>
Lines 95-101 Link Here
95
</ul>
95
</ul>
96
[% END %]
96
[% END %]
97
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
97
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
98
<h5>Additional tools</h5>
98
<h2>Additional tools</h2>
99
<ul>
99
<ul>
100
    [% IF ( CAN_user_tools_edit_calendar ) %]
100
    [% IF ( CAN_user_tools_edit_calendar ) %]
101
	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
101
	<li><a href="/cgi-bin/koha/tools/holidays.pl">Calendar</a></li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-1 / +1 lines)
Lines 362-368 Link Here
362
                                <div class="modal-dialog" role="document">
362
                                <div class="modal-dialog" role="document">
363
                                    <div class="modal-content modal-lg">
363
                                    <div class="modal-content modal-lg">
364
                                        <div class="modal-header">
364
                                        <div class="modal-header">
365
                                            <h5 class="modal-title">Preview of: "[% c.title | html %]"</h5>
365
                                            <h2 class="modal-title">Preview of: "[% c.title | html %]"</h2>
366
                                        </div>
366
                                        </div>
367
                                    <div class="modal-body">
367
                                    <div class="modal-body">
368
                                        [% c.content | $raw %]
368
                                        [% c.content | $raw %]
(-)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 102-108 Link Here
102
102
103
            [% IF ( item_loop ) %]
103
            [% IF ( item_loop ) %]
104
                [% UNLESS ( too_many_items_display ) %]
104
                [% UNLESS ( too_many_items_display ) %]
105
                    <h4>The following barcodes were found: </h4>
105
                    <h2>The following barcodes were found: </h2>
106
                [% END %]
106
                [% END %]
107
            [% END %]
107
            [% END %]
108
        [% END # /IF notfoundbarcodes.size %]
108
        [% END # /IF notfoundbarcodes.size %]
Lines 124-130 Link Here
124
            </table>
124
            </table>
125
            [% IF ( item_loop ) %]
125
            [% IF ( item_loop ) %]
126
                [% UNLESS ( too_many_items_display ) %]
126
                [% UNLESS ( too_many_items_display ) %]
127
                    <h4>The following itemnumbers were found: </h4>
127
                    <h2>The following itemnumbers were found: </h2>
128
                [% END %]
128
                [% END %]
129
            [% END %]
129
            [% END %]
130
        [% END # /IF notfounditemnumbers.size %]
130
        [% 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 (-3 / +3 lines)
Lines 105-113 Link Here
105
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
105
    <form name="f1" id="delete_patrons_form" action="/cgi-bin/koha/tools/cleanborrowers.pl" method="post">
106
    <fieldset>
106
    <fieldset>
107
    <legend>Delete patrons</legend>
107
    <legend>Delete patrons</legend>
108
        <h3><input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label></h3>
108
        <input id="checkborrower" type="checkbox" name="checkbox" value="borrower" /><label for="checkborrower"> Verify you want to delete patrons</label>
109
        <br />
109
        <br />
110
        <h5>Delete patrons who meet the following criteria:</h5>
110
        <p><strong>Delete patrons who meet the following criteria:</strong></p>
111
        <ul>
111
        <ul>
112
                <li>
112
                <li>
113
                    <label for="date1">who have not borrowed since:</label>
113
                    <label for="date1">who have not borrowed since:</label>
Lines 156-162 Link Here
156
        [% UNLESS Koha.Preference('AnonymousPatron') %]
156
        [% UNLESS Koha.Preference('AnonymousPatron') %]
157
            <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
            <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
        [% END %]
158
        [% END %]
159
        <h3><input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label></h3>
159
        <input id="checkissue" type="checkbox" name="checkbox" value="issue" /><label for="checkissue"> Verify you want to anonymize patron checkout history</label>
160
        <br />
160
        <br />
161
        <ul>
161
        <ul>
162
            <li>
162
            <li>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/holidays.tt (-9 / +9 lines)
Lines 45-51 Link Here
45
                            <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
45
                            <form action="/cgi-bin/koha/tools/exceptionHolidays.pl" method="post">
46
                                <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
46
                                <input type="hidden" id="showHolidayType" name="showHolidayType" value="" />
47
                                <fieldset class="brief">
47
                                <fieldset class="brief">
48
                                    <h3>Edit this holiday</h3>
48
                                    <h2>Edit this holiday</h2>
49
                                    <span id="holtype"></span>
49
                                    <span id="holtype"></span>
50
                                    <ol>
50
                                    <ol>
51
                                        <li>
51
                                        <li>
Lines 140-146 Link Here
140
                        <div class="panel" id="newHoliday">
140
                        <div class="panel" id="newHoliday">
141
                            <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
141
                            <form action="/cgi-bin/koha/tools/newHolidays.pl" method="post">
142
                                <fieldset class="brief">
142
                                <fieldset class="brief">
143
                                    <h3>Add new holiday</h3>
143
                                    <h2>Add new holiday</h2>
144
                                    <ol>
144
                                    <ol>
145
                                        <li>
145
                                        <li>
146
                                            <strong>Library:</strong>
146
                                            <strong>Library:</strong>
Lines 224-230 Link Here
224
                        </div> <!-- /#newHoliday -->
224
                        </div> <!-- /#newHoliday -->
225
225
226
                        <div id="calendar-container">
226
                        <div id="calendar-container">
227
                            <h3>Calendar information</h3>
227
                            <h2>Calendar information</h2>
228
                            <span id="calendar-anchor"></span>
228
                            <span id="calendar-anchor"></span>
229
                        </div>
229
                        </div>
230
                        <div style="margin-top: 2em;">
230
                        <div style="margin-top: 2em;">
Lines 244-250 Link Here
244
244
245
                    <div class="col-sm-6">
245
                    <div class="col-sm-6">
246
                        <div class="help">
246
                        <div class="help">
247
                            <h4>Hints</h4>
247
                            <h2>Hints</h2>
248
                            <ul>
248
                            <ul>
249
                                <li>Search in the calendar the day you want to set as holiday.</li>
249
                                <li>Search in the calendar the day you want to set as holiday.</li>
250
                                <li>Click the date to add or edit a holiday.</li>
250
                                <li>Click the date to add or edit a holiday.</li>
Lines 252-258 Link Here
252
                                <li>Specify how the holiday should repeat.</li>
252
                                <li>Specify how the holiday should repeat.</li>
253
                                <li>Click Save to finish.</li>
253
                                <li>Click Save to finish.</li>
254
                            </ul>
254
                            </ul>
255
                            <h4>Key</h4>
255
                            <h2>Key</h2>
256
                            <p>
256
                            <p>
257
                                <span class="key normalday">Working day</span>
257
                                <span class="key normalday">Working day</span>
258
                                <span class="key holiday">Unique holiday</span>
258
                                <span class="key holiday">Unique holiday</span>
Lines 266-272 Link Here
266
                            <!-- Exceptions First -->
266
                            <!-- Exceptions First -->
267
                            <!--   this will probably always have the least amount of data -->
267
                            <!--   this will probably always have the least amount of data -->
268
                            [% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
268
                            [% IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
269
                                <h3>Exceptions</h3>
269
                                <h2>Exceptions</h2>
270
                                <label class="controls">
270
                                <label class="controls">
271
                                    <input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" />
271
                                    <input type="checkbox" name="show_past" id="show_past_holidayexceptions" class="show_past" />
272
                                    Show past entries
272
                                    Show past entries
Lines 296-302 Link Here
296
                            [% END # /IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
296
                            [% END # /IF ( EXCEPTION_HOLIDAYS_LOOP ) %]
297
297
298
                            [% IF ( WEEK_DAYS_LOOP ) %]
298
                            [% IF ( WEEK_DAYS_LOOP ) %]
299
                                <h3>Weekly - Repeatable holidays</h3>
299
                                <h2>Weekly - Repeatable holidays</h2>
300
                                <table id="holidayweeklyrepeatable">
300
                                <table id="holidayweeklyrepeatable">
301
                                    <thead>
301
                                    <thead>
302
                                        <tr>
302
                                        <tr>
Lines 318-324 Link Here
318
                            [% END # / IF ( WEEK_DAYS_LOOP ) %]
318
                            [% END # / IF ( WEEK_DAYS_LOOP ) %]
319
319
320
                            [% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
320
                            [% IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
321
                                <h3>Yearly - Repeatable holidays</h3>
321
                                <h2>Yearly - Repeatable holidays</h2>
322
                                <table id="holidaysyearlyrepeatable">
322
                                <table id="holidaysyearlyrepeatable">
323
                                    <thead>
323
                                    <thead>
324
                                        <tr>
324
                                        <tr>
Lines 346-352 Link Here
346
                            [% END # /IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
346
                            [% END # /IF ( DAY_MONTH_HOLIDAYS_LOOP ) %]
347
347
348
                            [% IF ( HOLIDAYS_LOOP ) %]
348
                            [% IF ( HOLIDAYS_LOOP ) %]
349
                                <h3>Unique holidays</h3>
349
                                <h2>Unique holidays</h2>
350
                                <label class="controls">
350
                                <label class="controls">
351
                                    <input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" />
351
                                    <input type="checkbox" name="show_past" id="show_past_holidaysunique" class="show_past" />
352
                                    Show past entries
352
                                    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/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 431-437 Link Here
431
                                <div class="modal-content">
431
                                <div class="modal-content">
432
                                    <div class="modal-header">
432
                                    <div class="modal-header">
433
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
433
                                        <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
434
                                        <h3 id="marcPreviewLabel">MARC preview</h3>
434
                                        <h2 id="marcPreviewLabel">MARC preview</h2>
435
                                    </div>
435
                                    </div>
436
                                    <div class="modal-body">
436
                                    <div class="modal-body">
437
                                        <div id="loading"> <img src="[% interface | html %]/[% theme | html %]/img/spinner-small.gif" alt="" /> Loading </div>
437
                                        <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 169-175 Link Here
169
                    [% IF ( op == 'show_results' ) %]
169
                    [% IF ( op == 'show_results' ) %]
170
                        [% IF ( errors ) %]
170
                        [% IF ( errors ) %]
171
                            <div class="dialog alert">
171
                            <div class="dialog alert">
172
                            <h4>Errors occurred:</h4>
172
                            <h2>Errors occurred:</h2>
173
                            <ul class="warnings">
173
                            <ul class="warnings">
174
                            [% FOREACH error IN errors %]
174
                            [% FOREACH error IN errors %]
175
                                [% IF ( error.error == 'can_not_update' ) %]
175
                                [% 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 (-4 / +4 lines)
Lines 28-34 Link Here
28
    <div class="row">
28
    <div class="row">
29
        <div class="col-sm-4">
29
        <div class="col-sm-4">
30
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || 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
[% IF ( CAN_user_tools_manage_patron_lists || CAN_user_clubs || CAN_user_tools_moderate_comments || CAN_user_tools_import_patrons  || CAN_user_tools_edit_notices || CAN_user_tools_edit_notice_status_triggers || CAN_user_tools_label_creator || CAN_user_tools_delete_anonymize_patrons  || 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 97-103 Link Here
97
97
98
<div class="col-sm-4 col-sm-push-4">
98
<div class="col-sm-4 col-sm-push-4">
99
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
99
[% IF ( CAN_user_tools_edit_calendar || CAN_user_tools_manage_csv_profiles || CAN_user_tools_view_system_logs || CAN_user_tools_edit_additional_contents  || CAN_user_tools_schedule_tasks || CAN_user_tools_edit_quotes || ( Koha.ArePluginsEnabled() && CAN_user_plugins_tool )  || CAN_user_tools_upload_general_files || CAN_user_tools_access_files ) %]
100
<h3>Additional tools</h3>
100
<h2>Additional tools</h2>
101
[% END %]
101
[% END %]
102
<dl>
102
<dl>
103
    [% IF ( CAN_user_tools_edit_calendar ) %]
103
    [% IF ( CAN_user_tools_edit_calendar ) %]
Lines 167-173 Link Here
167
</dl>
167
</dl>
168
168
169
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
169
[% IF ( Koha.Preference('UseCashRegisters') && ( CAN_user_cash_management_cashup || CAN_user_cash_management_anonymous_refund ) ) %]
170
<h3>Cash management</h3>
170
<h2>Cash management</h2>
171
<dl>
171
<dl>
172
172
173
    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
173
    <dt><a href="/cgi-bin/koha/pos/registers.pl">Cash summary for [% Branches.GetLoggedInBranchname | html %]</a></dt>
Lines 183-189 Link Here
183
183
184
<div class="col-sm-4 col-sm-pull-4">
184
<div class="col-sm-4 col-sm-pull-4">
185
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
185
[% IF ( CAN_user_tools_items_batchdel || CAN_user_tools_items_batchmod || CAN_user_tools_records_batchdel  || CAN_user_tools_records_batchmod || CAN_user_tools_export_catalog || CAN_user_tools_inventory  || CAN_user_tools_label_creator || CAN_user_tools_rotating_collections  || ( CAN_user_stockrotation_manage_rotas && Koha.Preference('StockRotation') )  || CAN_user_tools_marc_modification_templates || CAN_user_tools_stage_marc_import  || CAN_user_tools_manage_staged_marc || CAN_user_tools_upload_local_cover_images ) %]
186
<h3>Catalog</h3>
186
<h2>Catalog</h2>
187
[% END %]
187
[% END %]
188
<dl>
188
<dl>
189
    [% IF ( CAN_user_tools_items_batchdel ) %]
189
    [% IF ( CAN_user_tools_items_batchdel ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/upload.tt (-2 / +2 lines)
Lines 296-307 Link Here
296
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default">Upload file</a>
296
        <a href="/cgi-bin/koha/tools/upload.pl" class="btn btn-default">Upload file</a>
297
    </div>
297
    </div>
298
    [% IF uploads %]
298
    [% IF uploads %]
299
        <h3>Your request gave the following results:</h3>
299
        <h2>Your request gave the following results:</h2>
300
        [% PROCESS table_results %]
300
        [% PROCESS table_results %]
301
        [% PROCESS closer %]
301
        [% PROCESS closer %]
302
        [% PROCESS back %]
302
        [% PROCESS back %]
303
    [% ELSE %]
303
    [% ELSE %]
304
        <h4>Sorry, your request had no results.</h4>
304
        <h2>Sorry, your request had no results.</h2>
305
        [% PROCESS newsearch %]
305
        [% PROCESS newsearch %]
306
    [% END %]
306
    [% END %]
307
[% END %]
307
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/viewlog.tt (-5 / +4 lines)
Lines 309-315 Link Here
309
			</form>
309
			</form>
310
                [% IF ( do_it ) %]
310
                [% IF ( do_it ) %]
311
                    [% IF ( total ) %]
311
                    [% IF ( total ) %]
312
                        <h3>Log entries</h3>
312
                        <h2>Log entries</h2>
313
                        <div id="toolbar" class="btn-toolbar">
313
                        <div id="toolbar" class="btn-toolbar">
314
                            <a href="#" id="select_none" class="btn btn-link disabled"><i class="fa fa-remove"></i> Check none</a>
314
                            <a href="#" id="select_none" class="btn btn-link disabled"><i class="fa fa-remove"></i> Check none</a>
315
                            <button class="btn btn-link disabled compare_link"><i class="fa fa-columns"></i> Compare selected</button>
315
                            <button class="btn btn-link disabled compare_link"><i class="fa fa-columns"></i> Compare selected</button>
Lines 433-448 Link Here
433
        <div class="modal-content">
433
        <div class="modal-content">
434
            <div class="modal-header">
434
            <div class="modal-header">
435
                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
435
                <button type="button" class="closebtn" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
436
                <h4 class="modal-title" id="compareInfoLabel">Compare preference values</h4>
436
                <h2 class="modal-title" id="compareInfoLabel">Compare preference values</h2>
437
            </div>
437
            </div>
438
            <div class="modal-body">
438
            <div class="modal-body">
439
                <div class="row">
439
                <div class="row">
440
                    <div class="compare_pane col-sm-6" id="col1">
440
                    <div class="compare_pane col-sm-6" id="col1">
441
                        <h5>Older version</h5>
441
                        <h3>Older version</h3>
442
                        <pre></pre>
442
                        <pre></pre>
443
                    </div>
443
                    </div>
444
                    <div class="compare_pane col-sm-6" id="col2">
444
                    <div class="compare_pane col-sm-6" id="col2">
445
                        <h5>Newer version</h5>
445
                        <h3>Newer version</h3>
446
                        <pre></pre>
446
                        <pre></pre>
447
                    </div>
447
                    </div>
448
                </div>
448
                </div>
449
- 

Return to bug 27741