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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marc_subfields_structure.tt (-21 / +21 lines)
Lines 35-41 Link Here
35
        <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
35
        <a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo;
36
        <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
36
        <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo;
37
        <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> &rsaquo;
37
        <a href="/cgi-bin/koha/admin/biblio_framework.pl">MARC frameworks</a> &rsaquo;
38
        <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode | html %]&amp;searchfield=[% tagfield | uri %]">
38
        <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=[% frameworkcode | uri %]&amp;searchfield=[% tagfield | uri %]">
39
            [% IF ( frameworkcode ) %][% frameworkcode | html %][% ELSE %]Default[% END %] framework structure
39
            [% IF ( frameworkcode ) %][% frameworkcode | html %][% ELSE %]Default[% END %] framework structure
40
        </a> &rsaquo;
40
        </a> &rsaquo;
41
        [% IF ( add_form ) %]
41
        [% IF ( add_form ) %]
Lines 56-62 Link Here
56
        [% IF ( else ) %]
56
        [% IF ( else ) %]
57
            Tag [% tagfield | html %] Subfield structure
57
            Tag [% tagfield | html %] Subfield structure
58
        [% END %]
58
        [% END %]
59
    </div>
59
    </div> <!-- /#breadcrumbs -->
60
60
61
    <div class="main container-fluid">
61
    <div class="main container-fluid">
62
        <div class="row">
62
        <div class="row">
Lines 159-169 Link Here
159
                                                            <option value="10">items (10)</option>
159
                                                            <option value="10">items (10)</option>
160
                                                        [%- END -%]
160
                                                        [%- END -%]
161
                                                        </select>
161
                                                        </select>
162
                                                        (ignore means that the subfield does not display in the record editor)
162
                                                        <div class="hint">Ignore means that the subfield does not display in the record editor</div>
163
                                                    </li>
163
                                                    </li>
164
                                                </ol>
164
                                                </ol>
165
                                            </fieldset>
165
                                            </fieldset> <!-- /.rows -->
166
                                        </div>
166
                                        </div> <!-- /#basic[% loo.urisubfieldcode | html %] -->
167
167
168
                                        <div id="advanced[% loo.urisubfieldcode | html %]" class="contraints">
168
                                        <div id="advanced[% loo.urisubfieldcode | html %]" class="contraints">
169
                                            <fieldset class="rows">
169
                                            <fieldset class="rows">
Lines 202-213 Link Here
202
                                                        [% ELSE %]
202
                                                        [% ELSE %]
203
                                                            <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
203
                                                            <input type="checkbox" id="isurl[% loo.row | html %]" name="isurl[% loo.row | html %]" value="1" />
204
                                                        [% END %]
204
                                                        [% END %]
205
                                                        (if checked, it means that the subfield is a URL and can be clicked)
205
                                                        <div class="hint">If checked, it means that the subfield is a URL and can be clicked</div>
206
                                                    </li>
206
                                                    </li>
207
                                                    <li>
207
                                                    <li>
208
                                                        <label for="link[% loo.row | html %]">Link:</label>
208
                                                        <label for="link[% loo.row | html %]">Link:</label>
209
                                                        <input type="text" id="link[% loo.row | html %]" name="link" value="[% loo.link | html %]" size="10" maxlength="80" />
209
                                                        <input type="text" id="link[% loo.row | html %]" name="link" value="[% loo.link | html %]" size="10" maxlength="80" />
210
                                                        (an index name, e.g. title or Local-Number)
210
                                                        <div class="hint">An index name, e.g. title or Local-Number</div>
211
                                                    </li>
211
                                                    </li>
212
                                                    <li>
212
                                                    <li>
213
                                                        <label for="kohafield[% loo.row | html %]">Koha link:</label>
213
                                                        <label for="kohafield[% loo.row | html %]">Koha link:</label>
Lines 225-234 Link Here
225
                                                        <input type="hidden" name="kohafield" value="[% loo.kohafield | html %]"/>
225
                                                        <input type="hidden" name="kohafield" value="[% loo.kohafield | html %]"/>
226
                                                    </li>
226
                                                    </li>
227
                                                </ol>
227
                                                </ol>
228
                                            </fieldset>
228
                                            </fieldset> <!-- /.rows -->
229
                                        </div>
229
                                        </div> <!-- /#advanced[% loo.urisubfieldcode | html %] -->
230
230
231
                                        <div id="oth[% loo.urisubfieldcode | html %]" class="contraints">
231
                                        <div id="oth[% loo.urisubfieldcode | html %]" class="constraints">
232
                                            <fieldset class="rows">
232
                                            <fieldset class="rows">
233
                                                <legend>Other options (choose one)</legend>
233
                                                <legend>Other options (choose one)</legend>
234
                                                <ol>
234
                                                <ol>
Lines 270-286 Link Here
270
                                                        </select>
270
                                                        </select>
271
                                                    </li>
271
                                                    </li>
272
                                                </ol>
272
                                                </ol>
273
                                            </fieldset>
273
                                            </fieldset> <!-- /.rows -->
274
                                        </div>
274
                                        </div> <!-- /#oth[% loo.urisubfieldcode | html %] -->
275
                                    </div><!-- /content_sub -->
275
                                    </div><!-- /constraints -->
276
                                [% END %]
276
                                [% END # /FOREACH loo %]
277
                            </div><!-- /content -->
277
                            </div><!-- /subfieldtabs -->
278
278
279
                            <fieldset class="action">
279
                            <fieldset class="action">
280
                                <input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
280
                                <input type="submit" value="Save changes" /> <a href="/cgi-bin/koha/admin/marc_subfields_structure.pl?tagfield=[% tagfield  | uri %]&amp;frameworkcode=[% frameworkcode | uri %]" class="cancel">Cancel</a>
281
                            </fieldset>
281
                            </fieldset>
282
                        </form>
282
                        </form>
283
                    [% END %]
283
                    [% END # /IF ( add_form ) %]
284
284
285
                    [% IF ( delete_confirm ) %]
285
                    [% IF ( delete_confirm ) %]
286
                        <div class="dialog alert">
286
                        <div class="dialog alert">
Lines 304-311 Link Here
304
                                <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
304
                                <input type="hidden" name="frameworkcode" value="[% frameworkcode | html %]" />
305
                                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
305
                                <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
306
                            </form>
306
                            </form>
307
                        </div>
307
                        </div> <!-- /.dialog.alert -->
308
                    [% END %]
308
                    [% END # /IF ( delete_confirm ) %]
309
309
310
                    [% IF ( delete_confirmed ) %]
310
                    [% IF ( delete_confirmed ) %]
311
                        <h3>Data deleted</h3>
311
                        <h3>Data deleted</h3>
Lines 317-322 Link Here
317
317
318
                    [% IF ( else ) %]
318
                    [% IF ( else ) %]
319
                        <h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h1>
319
                        <h1>MARC subfield structure admin for [% tagfield | html %] [% IF ( frameworkcode ) %](framework [% frameworkcode | html %])[% ELSE %](default framework)[% END %]</h1>
320
320
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
321
                        <p>This screen shows the subfields associated with the selected tag. You can edit subfields or add a new one by clicking on edit.</p>
321
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
322
                        <p>The column 'Koha field' shows that the subfield is linked with a Koha field.</p>
322
323
Lines 365-371 Link Here
365
                                    </tr>
366
                                    </tr>
366
                                [% END %]
367
                                [% END %]
367
                            </tbody>
368
                            </tbody>
368
                        </table>
369
                        </table> <!-- /#table_marcsubfieldstructure -->
369
370
370
                        <form action="[% script_name | html %]" method="get">
371
                        <form action="[% script_name | html %]" method="get">
371
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
372
                            <fieldset class="action"><input type="hidden" name="op" value="add_form" />
Lines 376-382 Link Here
376
                            </fieldset>
377
                            </fieldset>
377
                        </form>
378
                        </form>
378
379
379
                    [% END %]
380
                    [% END # /IF else %]
380
381
381
                </main>
382
                </main>
382
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
383
            </div> <!-- /.col-sm-10.col-sm-push-2 -->
383
- 

Return to bug 26456