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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tt (-15 / +12 lines)
Lines 188-200 $(document).ready(function() { Link Here
188
        <th>Edit</th>
188
        <th>Edit</th>
189
        <th>Delete</th>
189
        <th>Delete</th>
190
        </tr>
190
        </tr>
191
	</thead>
191
    </thead>
192
    <tbody>
192
    <tbody>
193
    [% IF ( select_display ) %]
193
    [% IF ( select_display ) %]
194
        [% FOREACH loo IN loop %]
194
        [% FOREACH loo IN loop %]
195
            <tr>
195
        <tr>
196
            <td>[% loo.tagfield %]</td>
196
            <td>[% loo.tagfield %]</td>
197
            <td>[% loo.liblibrarian %]</td>
197
            <td>
198
                [% loo.liblibrarian %]
199
                [% FOREACH subfield IN loo.subfields %]
200
                    <p>
201
                        Tab:[% subfield.tab %] | $[% subfield.tagsubfield %]
202
                        [% subfield.liblibrarian %] [% IF ( subfield.kohafield ) %][% subfield.kohafield %][% END %][% IF ( subfield.repeatable ) %], repeatable[% END %][% IF ( subfield.mandatory ) %], Mandatory[% END %][% IF ( subfield.seealso ) %], See [% subfield.seealso %][% END %][% IF ( subfield.authorised_value ) %], [% subfield.authorised_value %][% END %][% IF ( subfield.authtypecode ) %], [% subfield.authtypecode %][% END %][% IF ( subfield.value_builder ) %], [% subfield.value_builder %][% END %]
203
                    </p>
204
                [% END %]
205
            </td>
198
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
206
            <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
199
            <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
207
            <td>[% IF ( loo.mandatory ) %]Yes[% ELSE %]No[% END %]</td>
200
            <td>[% loo.authorised_value %]</td>
208
            <td>[% loo.authorised_value %]</td>
Lines 202-221 $(document).ready(function() { Link Here
202
            <td><a href="[% loo.edit %]">Edit</a></td>
210
            <td><a href="[% loo.edit %]">Edit</a></td>
203
            <td><a href="[% loo.delete %]">Delete</a></td>
211
            <td><a href="[% loo.delete %]">Delete</a></td>
204
        </tr>
212
        </tr>
205
      [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
206
            <td>&nbsp;</td>
207
            <td colspan="7">
208
                [% FOREACH subfield IN loo.subfields %]
209
                    <p>	Tab:[% subfield.tab %] | $[% subfield.tagsubfield %]
210
                            [% subfield.liblibrarian %] [% IF ( subfield.kohafield ) %][% subfield.kohafield %][% END %][% IF ( subfield.repeatable ) %], repeatable[% END %][% IF ( subfield.mandatory ) %], Mandatory[% END %][% IF ( subfield.seealso ) %], See [% subfield.seealso %][% END %][% IF ( subfield.authorised_value ) %], [% subfield.authorised_value %][% END %][% IF ( subfield.authtypecode ) %], [% subfield.authtypecode %][% END %][% IF ( subfield.value_builder ) %], [% subfield.value_builder %][% END %]
211
                    </p>
212
                [% END %]
213
            </td>
214
        </tr>
215
        [% END %]
213
        [% END %]
216
    [% ELSE %]
214
    [% ELSE %]
217
    [% FOREACH loo IN loop %]
215
    [% FOREACH loo IN loop %]
218
    [% IF ( loop.odd ) %]<tr>[% ELSE %]<tr class="highlight">[% END %]
216
    <tr>
219
        <td>[% loo.tagfield %]</td>
217
        <td>[% loo.tagfield %]</td>
220
        <td>[% loo.liblibrarian %]</td>
218
        <td>[% loo.liblibrarian %]</td>
221
        <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
219
        <td>[% IF ( loo.repeatable ) %]Yes[% ELSE %]No[% END %]</td>
222
- 

Return to bug 6007