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

(-)a/koha-tmpl/intranet-tmpl/prog/en/css/staff-global.css (+1 lines)
Lines 260-265 table+table { Link Here
260
260
261
.highlighted-row { background-color: orange !important }
261
.highlighted-row { background-color: orange !important }
262
262
263
tbody tr:nth-child(odd) td,
263
tr.highlight td,
264
tr.highlight td,
264
tr.highlight th,
265
tr.highlight th,
265
tr.odd td,
266
tr.odd td,
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqbudgetperiods.tt (-5 / +1 lines)
Lines 570-580 Link Here
570
          </thead>
570
          </thead>
571
          <tbody>
571
          <tbody>
572
              [% FOREACH period_loo IN period_inactive_loop %]
572
              [% FOREACH period_loo IN period_inactive_loop %]
573
                  [% IF ( loop.odd ) %]
573
                  <tr>
574
                      <tr>
575
                  [% ELSE %]
576
                      <tr class="highlight">
577
                  [% END %]
578
                  <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_loo.budget_period_id %]" title="View funds for [% period_loo.budget_period_description %]">[% period_loo.budget_period_description %]</a></td>
574
                  <td><a href="/cgi-bin/koha/admin/aqbudgets.pl?budget_period_id=[% period_loo.budget_period_id %]" title="View funds for [% period_loo.budget_period_description %]">[% period_loo.budget_period_description %]</a></td>
579
                  <td><span title="[% period_loo.budget_period_startdate %]">[% period_loo.budget_period_startdate | $KohaDates %]</span></td>
575
                  <td><span title="[% period_loo.budget_period_startdate %]">[% period_loo.budget_period_startdate | $KohaDates %]</span></td>
580
                  <td><span title="[% period_loo.budget_period_enddate %]">[% period_loo.budget_period_enddate | $KohaDates %]</span></td>
576
                  <td><span title="[% period_loo.budget_period_enddate %]">[% period_loo.budget_period_enddate | $KohaDates %]</span></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqcontract.tt (-1 / +1 lines)
Lines 181-187 function Check(ff) { Link Here
181
                            <th scope="col" colspan="2">&nbsp; </th>
181
                            <th scope="col" colspan="2">&nbsp; </th>
182
                        </tr>
182
                        </tr>
183
                    [% FOREACH loo IN loop %]
183
                    [% FOREACH loo IN loop %]
184
                        [% IF ( loop.even ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
184
                        <tr>
185
                        <td>
185
                        <td>
186
                            <a href="[% loo.script_name %]?op=add_form&amp;booksellerid=[% loo.booksellerid %]&amp;contractnumber=[% loo.contractnumber %]">[% loo.contractname %]</a>
186
                            <a href="[% loo.script_name %]?op=add_form&amp;booksellerid=[% loo.booksellerid %]&amp;contractnumber=[% loo.contractnumber %]">[% loo.contractname %]</a>
187
                        </td>
187
                        </td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/aqplan.tt (-1 / +1 lines)
Lines 125-131 Link Here
125
125
126
    <tbody>
126
    <tbody>
127
    [% FOREACH budget_line IN budget_lines %]
127
    [% FOREACH budget_line IN budget_lines %]
128
    [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
128
    <tr>
129
        [% IF ( budget_line.budget_lock ) %]
129
        [% IF ( budget_line.budget_lock ) %]
130
            <td class="locked" title="Fund locked">
130
            <td class="locked" title="Fund locked">
131
        [% ELSE %]
131
        [% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_subfields_structure.tt (-4 lines)
Lines 262-272 function displayMoreConstraint(numlayer){ Link Here
262
        <th>Delete</th>
262
        <th>Delete</th>
263
    </tr>
263
    </tr>
264
    [% FOREACH loo IN loop %]
264
    [% FOREACH loo IN loop %]
265
    [% UNLESS ( loop.odd ) %]
266
    <tr class="highlight">
267
    [% ELSE %]
268
    <tr>
265
    <tr>
269
    [% END %]
270
        <td>[% loo.tagsubfield %]</td>
266
        <td>[% loo.tagsubfield %]</td>
271
        <td>
267
        <td>
272
            [% IF ( loo.subfield_ignored ) %]
268
            [% IF ( loo.subfield_ignored ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/auth_tag_structure.tt (-25 / +25 lines)
Lines 54-60 Link Here
54
                [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
54
                [% ELSE %]<a href="/cgi-bin/koha/admin/auth_tag_structure.pl">Default framework</a>
55
                [% END %] &rsaquo; Data deleted
55
                [% END %] &rsaquo; Data deleted
56
            [% ELSE %]
56
            [% ELSE %]
57
                [% IF ( authtypecode ) %][% authtypecode %] Framework</a>
57
                [% IF ( authtypecode ) %][% authtypecode %] Framework
58
                [% ELSE %]Default framework
58
                [% ELSE %]Default framework
59
                [% END %]
59
                [% END %]
60
            [% END %]
60
            [% END %]
Lines 200-230 Link Here
200
</div>
200
</div>
201
<table id="table_authtagstructure">
201
<table id="table_authtagstructure">
202
    <thead>
202
    <thead>
203
        <th>Tag</th>
203
        <tr>
204
        <th>Lib</th>
204
            <th>Tag</th>
205
        <th>Repeatable</th>
205
            <th>Lib</th>
206
        <th>Mandatory</th>
206
            <th>Repeatable</th>
207
        <th>Authorized<br />value</th>
207
            <th>Mandatory</th>
208
        <th>Subfields</th>
208
            <th>Authorized<br />value</th>
209
        <th>Edit</th>
209
            <th>Subfields</th>
210
        <th>Delete</th>
210
            <th>Edit</th>
211
            <th>Delete</th>
212
            </tr>
211
    </thead>
213
    </thead>
212
    [% FOREACH loo IN loop %]
214
    <tbody>
213
    [% UNLESS ( loop.odd ) %]
215
        [% FOREACH loo IN loop %]
214
    <tr class="highlight">
216
        <tr>
215
    [% ELSE %]
217
            <td><b>[% loo.tagfield %]</b></td>
216
    <tr>
218
            <td>[% loo.liblibrarian %]</td>
217
    [% END %]
219
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
218
        <td><b>[% loo.tagfield %]</b></td>
220
            <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
219
        <td>[% loo.liblibrarian %]</td>
221
            <td>[% loo.authorised_value %]</td>
220
        <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
222
            <td><a href="[% loo.subfield_link %]" class="button">subfields</a></td>
221
        <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
223
            <td><a href="[% loo.edit %]">Edit</a></td>
222
        <td>[% loo.authorised_value %]</td>
224
            <td><a href="[% loo.delete %]">Delete</a></td>
223
        <td><a href="[% loo.subfield_link %]" class="button">subfields</a></td>
225
        </tr>
224
        <td><a href="[% loo.edit %]">Edit</a></td>
226
        [% END %]
225
        <td><a href="[% loo.delete %]">Delete</a></td>
227
    </tbody>
226
    </tr>
227
    [% END %]
228
    </table>
228
    </table>
229
229
230
[% END %]
230
[% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authtypes.tt (-4 lines)
Lines 104-114 Link Here
104
	</tr>
104
	</tr>
105
	
105
	
106
	[% FOREACH loo IN loop %]
106
	[% FOREACH loo IN loop %]
107
        [% IF ( loop.odd ) %]
108
		<tr>
107
		<tr>
109
        [% ELSE %]
110
        <tr class="highlight">
111
        [% END %]
112
			<td>[% loo.authtypecode %]</td>
108
			<td>[% loo.authtypecode %]</td>
113
			<td>[% loo.authtypetext %]</td>
109
			<td>[% loo.authtypetext %]</td>
114
			<td>[% loo.summary %]</td>
110
			<td>[% loo.summary %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/biblio_framework.tt (-3 / +1 lines)
Lines 220-228 Link Here
220
    </tr>
220
    </tr>
221
    <!-- note highlight assignment appears backwards because we already have a normal row for Default -->
221
    <!-- note highlight assignment appears backwards because we already have a normal row for Default -->
222
    [% FOREACH loo IN loop %]
222
    [% FOREACH loo IN loop %]
223
        [% IF ( loop.odd ) %]<tr class="highlight">
223
        <tr>
224
        [% ELSE %]<tr>
225
        [% END %]
226
            <td>[% loo.frameworkcode %]</td>
224
            <td>[% loo.frameworkcode %]</td>
227
            <td>[% loo.frameworktext %]</td>
225
            <td>[% loo.frameworktext %]</td>
228
            <td><a href="marctagstructure.pl?frameworkcode=[% loo.frameworkcode %]" >MARC structure</a></td>
226
            <td><a href="marctagstructure.pl?frameworkcode=[% loo.frameworkcode %]" >MARC structure</a></td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branch_transfer_limits.tt (-1 / +1 lines)
Lines 95-101 Link Here
95
95
96
			<tbody>
96
			<tbody>
97
					[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %]
97
					[% FOREACH to_branch_loo IN codes_loo.to_branch_loop %]
98
						[% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
98
                        <tr>
99
							<td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td>
99
							<td><label style="min-width:400px;" for="[% to_branch_loo.code %][% to_branch_loo.toBranch %]row">[% to_branch_loo.toBranch %] - [% to_branch_loo.toBranchname %]</label></td>
100
							<td>
100
							<td>
101
							[% IF ( to_branch_loo.isChecked ) %]
101
							[% IF ( to_branch_loo.isChecked ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-5 / +1 lines)
Lines 186-196 tinyMCE.init({ Link Here
186
            <th>&nbsp;</th>
186
            <th>&nbsp;</th>
187
        </tr></thead><tbody>
187
        </tr></thead><tbody>
188
        [% FOREACH branche IN branches %]
188
        [% FOREACH branche IN branches %]
189
	[% IF ( loop.odd ) %]
189
            <tr>
190
        <tr>
191
	[% ELSE %]
192
		<tr class="highlight">
193
	[% END %]
194
                <td>[% branche.branch_name |html %]</td>
190
                <td>[% branche.branch_name |html %]</td>
195
                <td>[% branche.branch_code |html %]</td>
191
                <td>[% branche.branch_code |html %]</td>
196
                <td>
192
                <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cities.tt (-5 / +1 lines)
Lines 131-141 Link Here
131
			<th>&nbsp;</th>
131
			<th>&nbsp;</th>
132
		</thead>
132
		</thead>
133
		[% FOREACH loo IN loop %]
133
		[% FOREACH loo IN loop %]
134
		[% UNLESS ( loop.odd ) %]
134
        <tr>
135
		<tr class="highlight">
136
		[% ELSE %]
137
		<tr>
138
		[% END %]
139
			<td>[% loo.cityid %]</td>
135
			<td>[% loo.cityid %]</td>
140
			<td>[% loo.city_name %]</td>
136
			<td>[% loo.city_name %]</td>
141
			<td>[% loo.city_state %]</td>
137
			<td>[% loo.city_state %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-4 lines)
Lines 250-260 function CheckRuleForm(f) { Link Here
250
    <th>Actions</th>
250
    <th>Actions</th>
251
  </tr>
251
  </tr>
252
  [% FOREACH class_source IN class_sources %]
252
  [% FOREACH class_source IN class_sources %]
253
  [% IF ( loop.odd ) %]
254
  <tr>
253
  <tr>
255
  [% ELSE %]
256
  <tr class="highlight">
257
  [% END %]
258
    <td>[% class_source.code %]</td>
254
    <td>[% class_source.code %]</td>
259
    <td>[% class_source.description %]</td>
255
    <td>[% class_source.description %]</td>
260
    <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td>
256
    <td>[% IF ( class_source.used ) %]Yes[% ELSE %]No[% END %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/clone-rules.tt (-1 / +1 lines)
Lines 1-5 Link Here
1
[% INCLUDE 'doc-head-open.inc' %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration &rsaquo; Issuing Rules &rsaquo; Clone Issuing Rules</title>
2
<title>Koha &rsaquo; Administration &rsaquo; Issuing rules &rsaquo; Clone issuing rules</title>
3
[% INCLUDE 'doc-head-close.inc' %]
3
[% INCLUDE 'doc-head-close.inc' %]
4
</head>
4
</head>
5
<body id="admin_clone-rules" class="admin">
5
<body id="admin_clone-rules" class="admin">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-5 / +1 lines)
Lines 266-276 Item types administration Link Here
266
    <th>Actions</th>
266
    <th>Actions</th>
267
  </thead>
267
  </thead>
268
  [% FOREACH loo IN loop %]
268
  [% FOREACH loo IN loop %]
269
    [% UNLESS ( loop.odd ) %]
269
    <tr>
270
  <tr class="highlight">
271
    [% ELSE %]
272
  <tr>
273
    [% END %]
274
   [% UNLESS ( noItemTypeImages ) %] <td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt="" />[% ELSE %]&nbsp;[% END %]</td>[% END %]
270
   [% UNLESS ( noItemTypeImages ) %] <td>[% IF ( loo.imageurl ) %]<img src="[% loo.imageurl %]" alt="" />[% ELSE %]&nbsp;[% END %]</td>[% END %]
275
    <td>
271
    <td>
276
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">
272
      <a href="[% loo.script_name %]?op=add_form&amp;itemtype=[% loo.itemtype |html %]">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/koha2marclinks.tt (-4 lines)
Lines 92-102 Link Here
92
    <th>&nbsp;</th>
92
    <th>&nbsp;</th>
93
</tr>
93
</tr>
94
[% FOREACH loo IN loop %]
94
[% FOREACH loo IN loop %]
95
[% UNLESS ( loop.odd ) %]
96
<tr class="highlight">
97
[% ELSE %]
98
<tr>
95
<tr>
99
[% END %]
100
    <td><a href="[% loo.edit %]">[% loo.kohafield %]</a></td>
96
    <td><a href="[% loo.edit %]">[% loo.kohafield %]</a></td>
101
    <td>[% loo.tagfield %]</td>
97
    <td>[% loo.tagfield %]</td>
102
    <td>[% loo.tagsubfield %]</td>
98
    <td>[% loo.tagsubfield %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-4 lines)
Lines 391-401 function populateHiddenCheckboxes(tab) { Link Here
391
    <th>Delete</th>
391
    <th>Delete</th>
392
</tr>
392
</tr>
393
[% FOREACH loo IN loop %]
393
[% FOREACH loo IN loop %]
394
[% UNLESS ( loop.odd ) %]
395
<tr class="highlight">
396
[% ELSE %]
397
<tr>
394
<tr>
398
[% END %]
399
    <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield %]&amp;frameworkcode=[% frameworkcode %]#sub[% loo.tagsubfield %]field">[% loo.tagsubfield %]</a></td>
395
    <td><a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?op=add_form&amp;tagfield=[% loo.tagfield %]&amp;frameworkcode=[% frameworkcode %]#sub[% loo.tagsubfield %]field">[% loo.tagsubfield %]</a></td>
400
    <td>
396
    <td>
401
        [% IF ( loo.subfield_ignored ) %]
397
        [% IF ( loo.subfield_ignored ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-1 / +1 lines)
Lines 192-198 $(document).ready(function() { Link Here
192
    <tbody>
192
    <tbody>
193
    [% IF ( select_display ) %]
193
    [% IF ( select_display ) %]
194
        [% FOREACH loo IN loop %]
194
        [% FOREACH loo IN loop %]
195
            [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
195
            <tr>
196
            <td>[% loo.tagfield %]</td>
196
            <td>[% loo.tagfield %]</td>
197
            <td>[% loo.liblibrarian %]</td>
197
            <td>[% loo.liblibrarian %]</td>
198
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
198
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/printers.tt (-1 / +1 lines)
Lines 164-170 Link Here
164
			<th>&nbsp;</th>
164
			<th>&nbsp;</th>
165
		</tr>
165
		</tr>
166
		[% FOREACH loo IN loop %]
166
		[% FOREACH loo IN loop %]
167
		[% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
167
        <tr>
168
			<td>[% loo.printername %]</td>
168
			<td>[% loo.printername %]</td>
169
			<td>[% loo.printqueue %]</td>
169
			<td>[% loo.printqueue %]</td>
170
			<td>[% loo.printtype %]</td>
170
			<td>[% loo.printtype %]</td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/smart-rules.tt (-4 lines)
Lines 162-172 for="tobranch"><strong>Clone these rules to:</strong></label> <input type="hidde Link Here
162
            </thead>
162
            </thead>
163
            <tbody>
163
            <tbody>
164
				[% FOREACH rule IN rules %]
164
				[% FOREACH rule IN rules %]
165
					[% UNLESS ( loop.odd ) %]
166
					<tr class="highlight" id="row_[% loop.count %]">
167
					[% ELSE %]
168
					<tr id="row_[% loop.count %]">
165
					<tr id="row_[% loop.count %]">
169
					[% END %]
170
							<td>[% IF ( rule.default_humancategorycode ) %]
166
							<td>[% IF ( rule.default_humancategorycode ) %]
171
									<em>All</em>
167
									<em>All</em>
172
								[% ELSE %]
168
								[% ELSE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/stopwords.tt (-3 / +1 lines)
Lines 120-128 Link Here
120
            <th></th>
120
            <th></th>
121
        </tr>
121
        </tr>
122
        [% FOREACH loo IN loop %]
122
        [% FOREACH loo IN loop %]
123
           [% IF ( loop.odd ) %]<tr>
123
            <tr>
124
           [% ELSE %]<tr class="highlight">
125
           [% END %]
126
            <td>[% loo.word %]</td>
124
            <td>[% loo.word %]</td>
127
            <td><a href="[% loo.script_name %]?op=delete_confirm&amp;searchfield=[% loo.word %]">Delete</a></td>
125
            <td><a href="[% loo.script_name %]?op=delete_confirm&amp;searchfield=[% loo.word %]">Delete</a></td>
128
        </tr>
126
        </tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/systempreferences.tt (-1 / +1 lines)
Lines 264-270 Link Here
264
        </tr></thead>
264
        </tr></thead>
265
    [% END %]
265
    [% END %]
266
    <tbody>[% FOREACH loo IN loop %]
266
    <tbody>[% FOREACH loo IN loop %]
267
    [% UNLESS ( loop.odd ) %]<tr class="highlight">[% ELSE %]<tr>[% END %]
267
        <tr>
268
268
269
        <td><strong><a href="[% loo.edit %]">[% loo.variable %]</a></strong></td><td> [% loo.explanation |html %]</td>
269
        <td><strong><a href="[% loo.edit %]">[% loo.variable %]</a></strong></td><td> [% loo.explanation |html %]</td>
270
        [% IF ( loo.oneline ) %]
270
        [% IF ( loo.oneline ) %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-6 / +1 lines)
Lines 216-226 Link Here
216
        </tr></thead>
216
        </tr></thead>
217
        <tbody>
217
        <tbody>
218
        [% FOREACH loo IN loop %]
218
        [% FOREACH loo IN loop %]
219
            [% UNLESS ( loop.odd ) %]
219
            <tr>
220
                <tr class="highlight">
221
            [% ELSE %]
222
                <tr>
223
            [% END %]
224
            <td><a href="[% loo.script_name %]?op=edit&amp;id=[% loo.id %]">[% loo.servername %]</a></td><td>[% loo.host %]:[% loo.port %]</td><td>[% loo.db %]</td><td>[% loo.userid %]</td><td>[% IF loo.password %]########[% END %]</td><td>[% IF ( loo.checked ) %]Yes[% ELSE %]No[% END %]</td><td>[% loo.rank %]</td>
220
            <td><a href="[% loo.script_name %]?op=edit&amp;id=[% loo.id %]">[% loo.servername %]</a></td><td>[% loo.host %]:[% loo.port %]</td><td>[% loo.db %]</td><td>[% loo.userid %]</td><td>[% IF loo.password %]########[% END %]</td><td>[% IF ( loo.checked ) %]Yes[% ELSE %]No[% END %]</td><td>[% loo.rank %]</td>
225
            <td>[% loo.syntax %]</td><td>[% loo.encoding %]</td><td>[% loo.timeout %]</td>
221
            <td>[% loo.syntax %]</td><td>[% loo.encoding %]</td><td>[% loo.timeout %]</td>
226
            <td>[% IF ( loo.recordtype == 'biblio' )  %]
222
            <td>[% IF ( loo.recordtype == 'biblio' )  %]
227
- 

Return to bug 2889