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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping.tt (-2 / +4 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("SRU search fields mapping for bibliographic records") | html %] &rsaquo;
7
    [% t("SRU search field mapping for bibliographic records") | html %] &rsaquo;
8
    [% t("Z39.50/SRU servers") | html %] &rsaquo;
9
    [% t("Administration") | html %] &rsaquo;
8
    [% t("Koha") | html %]
10
    [% t("Koha") | html %]
9
[% END %]</title>
11
[% END %]</title>
10
[% INCLUDE 'doc-head-close.inc' %]
12
[% INCLUDE 'doc-head-close.inc' %]
Lines 15-21 Link Here
15
<div class="main container-fluid">
17
<div class="main container-fluid">
16
18
17
    <main>
19
    <main>
18
        <h1>Modify SRU search fields mapping for bibliographic records</h1>
20
        <h1>SRU search field mapping for bibliographic records</h1>
19
21
20
        <form id="form01" method="post">
22
        <form id="form01" method="post">
21
            <fieldset class="rows">
23
            <fieldset class="rows">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/sru_modmapping_auth.tt (-2 / +4 lines)
Lines 2-8 Link Here
2
[% SET footerjs = 1 %]
2
[% SET footerjs = 1 %]
3
[% INCLUDE 'doc-head-open.inc' %]
3
[% INCLUDE 'doc-head-open.inc' %]
4
<title>[% FILTER collapse %]
4
<title>[% FILTER collapse %]
5
    [% t("SRU search fields mapping for authorities") | html %] &rsaquo;
5
    [% t("SRU search field mapping for authorities") | html %] &rsaquo;
6
    [% t("Z39.50/SRU servers") | html %] &rsaquo;
7
    [% t("Administration") | html %] &rsaquo;
6
    [% t("Koha") | html %]
8
    [% t("Koha") | html %]
7
[% END %]</title>
9
[% END %]</title>
8
[% INCLUDE 'doc-head-close.inc' %]
10
[% INCLUDE 'doc-head-close.inc' %]
Lines 13-19 Link Here
13
<div class="main container-fluid">
15
<div class="main container-fluid">
14
16
15
    <main>
17
    <main>
16
        <h1>Modify SRU search fields mapping for authorities</h1>
18
        <h1>SRU search field mapping for authorities</h1>
17
        <form id="form01" method="post">
19
        <form id="form01" method="post">
18
            <fieldset class="rows">
20
            <fieldset class="rows">
19
                <div class="row">
21
                <div class="row">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/z3950servers.tt (-20 / +25 lines)
Lines 13-22 Link Here
13
13
14
<title>[% FILTER collapse %]
14
<title>[% FILTER collapse %]
15
    [% IF op == 'edit' %]
15
    [% IF op == 'edit' %]
16
        [% tx("Modify {servertype} server {servername}", { servertype = servertype, servername = server.servername }) | html %] &rsaquo;
16
        [% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %] &rsaquo;
17
    [% END %]
17
    [% ELSIF op ==  'add' %]
18
    [% IF op ==  'add' %]
19
        [% tx("New {servertype} server", { servertype = servertype }) | html %] &rsaquo;
18
        [% tx("New {servertype} server", { servertype = servertype }) | html %] &rsaquo;
19
    [% ELSIF searchfield %]
20
        [% tx("Search results for '{search_keyword}'", { search_keyword = searchfield }) | html %] &rsaquo;
20
    [% END %]
21
    [% END %]
21
    [% t("Z39.50/SRU servers") | html %] &rsaquo;
22
    [% t("Z39.50/SRU servers") | html %] &rsaquo;
22
    [% t("Administration") | html %] &rsaquo;
23
    [% t("Administration") | html %] &rsaquo;
Lines 36-61 Link Here
36
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
37
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
37
        [% END %]
38
        [% END %]
38
39
39
        [% IF op == 'edit' || op == 'add' %]
40
        [% IF op == 'edit' || op == 'add' || searchfield %]
40
            [% WRAPPER breadcrumb_item %]
41
            [% WRAPPER breadcrumb_item %]
41
                <a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a>
42
                <a href="/cgi-bin/koha/admin/z3950servers.pl">Z39.50/SRU servers</a>
42
           [% END %]
43
            [% END %]
43
        [% END %]
44
        [% END %]
44
45
45
        [% IF op == 'edit' %]
46
        [% IF op == 'edit' %]
46
            [% WRAPPER breadcrumb_item bc_active= 1 %]
47
            [% WRAPPER breadcrumb_item bc_active= 1 %]
47
                <span>Modify [% servertype | html %] server [% server.servername | html %]</span>
48
                [% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %]
48
           [% END %]
49
            [% END %]
49
50
50
        [% ELSIF op == 'add' %]
51
        [% ELSIF op == 'add' %]
51
            [% WRAPPER breadcrumb_item bc_active= 1 %]
52
            [% WRAPPER breadcrumb_item bc_active= 1 %]
52
                <span>New [% servertype | html %] server</span>
53
                [% tx("New {servertype} server", { servertype = servertype }) | html %]
53
           [% END %]
54
            [% END %]
54
55
56
        [% ELSIF searchfield %]
57
            [% WRAPPER breadcrumb_item bc_active= 1 %]
58
                [% tx("Search results for '{search_keyword}'", { search_keyword = searchfield }) | html %]
59
            [% END %]
55
        [% ELSE %]
60
        [% ELSE %]
56
            [% WRAPPER breadcrumb_item bc_active= 1 %]
61
            [% WRAPPER breadcrumb_item bc_active= 1 %]
57
                <span>Z39.50/SRU servers</span>
62
                <span>Z39.50/SRU servers</span>
58
           [% END %]
63
            [% END %]
59
        [% END %]
64
        [% END %]
60
    [% END #/ WRAPPER breadcrumbs %]
65
    [% END #/ WRAPPER breadcrumbs %]
61
[% END #/ WRAPPER sub-header.inc %]
66
[% END #/ WRAPPER sub-header.inc %]
Lines 77-90 Link Here
77
82
78
[% IF ( add_form ) %]
83
[% IF ( add_form ) %]
79
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
84
    <form action="[% script_name | html %]" name="Aform" method="post" id="serverentry">
80
        <input type="hidden" name="op" value="add_validated" />
81
        <input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/>
82
        [% IF op == 'edit' %]
85
        [% IF op == 'edit' %]
83
            <h1>Modify [% servertype | html %] server</h1>
86
            <h1>[% tx("Modify {servertype} server '{servername}'", { servertype = servertype, servername = server.servername }) | html %]</h1>
84
            <input type="hidden" name="id" value="[% server.id | html %]" />
87
            <input type="hidden" name="id" value="[% server.id | html %]" />
85
        [% ELSE %]
88
        [% ELSE %]
86
            <h1>New [% servertype | html %] server</h1>
89
            <h1>[% tx("New {servertype} server", { servertype = servertype }) | html %]</h1>
87
        [% END %]
90
        [% END %]
91
92
        <input type="hidden" name="op" value="add_validated" />
93
        <input type="hidden" name="servertype" value="[% server.servertype||type||'zed' | html %]"/>
88
        <fieldset class="rows">
94
        <fieldset class="rows">
89
        <ol>
95
        <ol>
90
        <li><label for="name" class="required">Server name: </label>
96
        <li><label for="name" class="required">Server name: </label>
Lines 205-215 Link Here
205
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a>
211
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=zed"><i class="fa fa-plus"></i> New Z39.50 server</a>
206
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a>
212
        <a id="newserver" class="btn btn-default" href="/cgi-bin/koha/admin/z3950servers.pl?op=add&type=sru"><i class="fa fa-plus"></i> New SRU server</a>
207
    </div>
213
    </div>
208
    <h1>Z39.50/SRU servers administration</h1>
214
    <h1>Z39.50/SRU servers</h1>
209
    [% IF id %]
215
    [% IF searchfield %]
210
        You searched for record [% id | html %]
216
        <h2>
211
    [% ELSIF searchfield %]
217
            [% tx("Searching by target starting with '{search_keyword}'", { search_keyword = searchfield }) | html %]
212
        You searched for [% searchfield | html %]
218
        </h2>
213
    [% END %]
219
    [% END %]
214
220
215
    <div class="page-section">
221
    <div class="page-section">
216
- 

Return to bug 34407