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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_set_mappings.tt (-11 / +11 lines)
Lines 4-10 Link Here
4
[% SET footerjs = 1 %]
4
[% SET footerjs = 1 %]
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% FILTER collapse %]
6
<title>[% FILTER collapse %]
7
    [% t("OAI set mappings") | html %] &rsaquo;
7
    [% tx("Mappings for set '{oai_set}'", { oai_set = setSpec }) | html %] &rsaquo;
8
    [% t("OAI sets") | html %] &rsaquo;
8
    [% t("OAI sets") | html %] &rsaquo;
9
    [% t("Administration") | html %] &rsaquo;
9
    [% t("Administration") | html %] &rsaquo;
10
    [% t("Koha") | html %]
10
    [% t("Koha") | html %]
Lines 23-32 Link Here
23
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
24
        [% END %]
24
        [% END %]
25
        [% WRAPPER breadcrumb_item %]
25
        [% WRAPPER breadcrumb_item %]
26
            <a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a>
26
            <a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets</a>
27
        [% END %]
27
        [% END %]
28
        [% WRAPPER breadcrumb_item bc_active= 1 %]
28
        [% WRAPPER breadcrumb_item bc_active= 1 %]
29
            <span>OAI set mappings</span>
29
            [% tx("Mappings for set '{oai_set}'", { oai_set = setSpec }) | html %]
30
        [% END %]
30
        [% END %]
31
    [% END #/ WRAPPER breadcrumbs %]
31
    [% END #/ WRAPPER breadcrumbs %]
32
[% END #/ WRAPPER sub-header.inc %]
32
[% END #/ WRAPPER sub-header.inc %]
Lines 42-54 Link Here
42
          <p><a href="/cgi-bin/koha/admin/oai_sets.pl">Return to sets management</a></p>
42
          <p><a href="/cgi-bin/koha/admin/oai_sets.pl">Return to sets management</a></p>
43
        </div>
43
        </div>
44
      [% END %]
44
      [% END %]
45
      <h1>Mappings for set '[% setName | html %]' ([% setSpec | html %])</h1>
45
      <h1>[% tx("Mappings for set '{oai_set}'", { oai_set = setSpec }) | html %]</h1>
46
      [% UNLESS ( mappings ) %]
46
      [% UNLESS ( mappings ) %]
47
        <div class="dialog alert"><p><strong>Warning:</strong> No mappings have been defined for this set</p></div>
47
        <div class="dialog alert"><p><strong>Warning:</strong> No mappings have been defined for this set</p></div>
48
      [% END %]
48
      [% END %]
49
49
50
        <div class="page-section">
50
        <form action="/cgi-bin/koha/admin/oai_set_mappings.pl" method="post" id="mappingform">
51
            <form action="/cgi-bin/koha/admin/oai_set_mappings.pl" method="post" id="mappingform">
51
            <div class="page-section">
52
                <table id="mappings">
52
                <table id="mappings">
53
                    <thead>
53
                    <thead>
54
                        <tr>
54
                        <tr>
Lines 132-142 Link Here
132
                </table>
132
                </table>
133
                <input type="hidden" name="id" value="[% id | html %]" />
133
                <input type="hidden" name="id" value="[% id | html %]" />
134
                <input type="hidden" name="op" value="save" />
134
                <input type="hidden" name="op" value="save" />
135
                <fieldset class="action">
135
            </div> <!-- /.page-section -->
136
                    <input type="submit" class="btn btn-primary" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/oai_sets.pl">Cancel</a>
136
            <fieldset class="action">
137
                </fieldset>
137
                <input type="submit" class="btn btn-primary" value="Save" /> <a class="cancel" href="/cgi-bin/koha/admin/oai_sets.pl">Cancel</a>
138
            </form>
138
            </fieldset>
139
        </div> <!-- /.page-section -->
139
        </form>
140
140
141
            </main>
141
            </main>
142
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
142
        </div> <!-- /.col-sm-10.col-sm-push-2 -->
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/oai_sets.tt (-9 / +10 lines)
Lines 5-13 Link Here
5
[% INCLUDE 'doc-head-open.inc' %]
5
[% INCLUDE 'doc-head-open.inc' %]
6
<title>[% FILTER collapse %]
6
<title>[% FILTER collapse %]
7
    [% IF ( op_new ) %]
7
    [% IF ( op_new ) %]
8
        [% t("Add a new OAI set") | html %] &rsaquo;
8
        [% t("New OAI set") | html %] &rsaquo;
9
    [% ELSIF ( op_mod ) %]
10
        [% tx("Modify OAI set '{oai_set}'", { oai_set = spec }) | html %] &rsaquo;
9
    [% END %]
11
    [% END %]
10
    [% t("OAI sets configuration") | html %] &rsaquo;
12
    [% t("OAI sets") | html %] &rsaquo;
11
    [% t("Administration") | html %] &rsaquo;
13
    [% t("Administration") | html %] &rsaquo;
12
    [% t("Koha") | html %]
14
    [% t("Koha") | html %]
13
[% END %]</title>
15
[% END %]</title>
Lines 27-49 Link Here
27
29
28
        [% IF ( op_new || op_mod ) %]
30
        [% IF ( op_new || op_mod ) %]
29
            [% WRAPPER breadcrumb_item %]
31
            [% WRAPPER breadcrumb_item %]
30
                <a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets configuration</a>
32
                <a href="/cgi-bin/koha/admin/oai_sets.pl">OAI sets</a>
31
            [% END %]
33
            [% END %]
32
        [% END %]
34
        [% END %]
33
35
34
        [% IF ( op_new ) %]
36
        [% IF ( op_new ) %]
35
            [% WRAPPER breadcrumb_item bc_active= 1 %]
37
            [% WRAPPER breadcrumb_item bc_active= 1 %]
36
                <span>Add a new OAI set</span>
38
                <span>New OAI set</span>
37
            [% END %]
39
            [% END %]
38
40
39
        [% ELSIF ( op_mod ) %]
41
        [% ELSIF ( op_mod ) %]
40
            [% WRAPPER breadcrumb_item bc_active= 1 %]
42
            [% WRAPPER breadcrumb_item bc_active= 1 %]
41
                <span>Edit OAI set '[% spec | html %]'</span>
43
                [% tx("Modify OAI set '{oai_set}'", { oai_set = spec }) | html %]
42
            [% END %]
44
            [% END %]
43
45
44
        [% ELSE %]
46
        [% ELSE %]
45
            [% WRAPPER breadcrumb_item bc_active= 1 %]
47
            [% WRAPPER breadcrumb_item bc_active= 1 %]
46
                <span>OAI sets configuration</span>
48
                <span>OAI sets</span>
47
            [% END %]
49
            [% END %]
48
        [% END %]
50
        [% END %]
49
    [% END #/ WRAPPER breadcrumbs %]
51
    [% END #/ WRAPPER breadcrumbs %]
Lines 57-66 Link Here
57
        [% IF ( op_new || op_mod ) %]
59
        [% IF ( op_new || op_mod ) %]
58
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
60
            <form method="post" action="/cgi-bin/koha/admin/oai_sets.pl" class="validated">
59
            [% IF ( op_new ) %]
61
            [% IF ( op_new ) %]
60
                <h1>Add a new OAI set</h1>
62
                <h1>New OAI set</h1>
61
                <input type="hidden" name="op" value="savenew" />
63
                <input type="hidden" name="op" value="savenew" />
62
            [% ELSIF ( op_mod ) %]
64
            [% ELSIF ( op_mod ) %]
63
                <h1>Edit OAI set '[% spec | html %]'</h1>
65
                <h1>[% tx("Modify OAI set '{oai_set}'", { oai_set = spec }) | html %]</h1>
64
                    <input type="hidden" name="op" value="savemod" />
66
                    <input type="hidden" name="op" value="savemod" />
65
                    <input type="hidden" name="id" value="[% id | html %]" />
67
                    <input type="hidden" name="id" value="[% id | html %]" />
66
            [% END %]
68
            [% END %]
67
- 

Return to bug 34400