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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt (-1 / +1 lines)
Lines 56-62 function hideDialogBox() { Link Here
56
          <p><a href="/cgi-bin/koha/admin/oai_sets.pl">Return to sets management</a></p>
56
          <p><a href="/cgi-bin/koha/admin/oai_sets.pl">Return to sets management</a></p>
57
        </div>
57
        </div>
58
      [% END %]
58
      [% END %]
59
      <h1>Mappings for set '[% setName %]' ([% setSpec %])</h1>
59
      <h1>Mappings for set '[% setName |html %]' ([% setSpec |html %])</h1>
60
      [% UNLESS ( mappings ) %]
60
      [% UNLESS ( mappings ) %]
61
        <div class="dialog alert"><p><strong>Warning:</strong> No mappings have been defined for this set</p></div>
61
        <div class="dialog alert"><p><strong>Warning:</strong> No mappings have been defined for this set</p></div>
62
      [% END %]
62
      [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt (-6 / +5 lines)
Lines 45-51 $(document).ready(function() { Link Here
45
[% INCLUDE 'header.inc' %]
45
[% INCLUDE 'header.inc' %]
46
[% INCLUDE 'prefs-admin-search.inc' %]
46
[% INCLUDE 'prefs-admin-search.inc' %]
47
47
48
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( op_new ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Add a new OAI set[% ELSIF ( op_mod ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Edit OAI set '[% spec %]'[% ELSE %] OAI sets configuration[% END %]</div>
48
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a> &rsaquo; [% IF ( op_new ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Add a new OAI set[% ELSIF ( op_mod ) %]<a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a> &rsaquo; Edit OAI set '[% spec |html %]'[% ELSE %] OAI sets configuration[% END %]</div>
49
49
50
<div id="doc3" class="yui-t2">
50
<div id="doc3" class="yui-t2">
51
51
Lines 58-64 $(document).ready(function() { Link Here
58
                <h2>Add a new OAI set</h2>
58
                <h2>Add a new OAI set</h2>
59
                <input type="hidden" name="op" value="savenew" />
59
                <input type="hidden" name="op" value="savenew" />
60
            [% ELSIF ( op_mod ) %]
60
            [% ELSIF ( op_mod ) %]
61
                <h2>Edit OAI set '[% spec %]'</h2>
61
                <h2>Edit OAI set '[% spec |html %]'</h2>
62
                    <input type="hidden" name="op" value="savemod" />
62
                    <input type="hidden" name="op" value="savemod" />
63
                    <input type="hidden" name="id" value="[% id %]" />
63
                    <input type="hidden" name="id" value="[% id %]" />
64
            [% END %]
64
            [% END %]
Lines 109-121 $(document).ready(function() { Link Here
109
                <tbody>
109
                <tbody>
110
                    [% FOREACH set IN sets_loop %]
110
                    [% FOREACH set IN sets_loop %]
111
                        <tr>
111
                        <tr>
112
                            <td>[% set.spec %]</td>
112
                            <td>[% set.spec |html %]</td>
113
                            <td>[% set.name %]</td>
113
                            <td>[% set.name |html %]</td>
114
                            <td>
114
                            <td>
115
                                [% IF set.descriptions %]
115
                                [% IF set.descriptions %]
116
                                    <ul>
116
                                    <ul>
117
                                        [% FOREACH desc IN set.descriptions %]
117
                                        [% FOREACH desc IN set.descriptions %]
118
                                            <li>[% desc.description %]</li>
118
                                            <li>[% desc.description |html %]</li>
119
                                        [% END %]
119
                                        [% END %]
120
                                    </ul>
120
                                    </ul>
121
                                [% ELSE %]
121
                                [% ELSE %]
122
- 

Return to bug 19108