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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-25 / +24 lines)
Lines 9-24 Link Here
9
<title>[% FILTER collapse %]
9
<title>[% FILTER collapse %]
10
    [% IF op == 'add_form' %]
10
    [% IF op == 'add_form' %]
11
        [% IF currency %]
11
        [% IF currency %]
12
            [% tx("Modify currency '{currency}'", { currency = currency.currency }) | html %] &rsaquo;
12
            [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %] &rsaquo;
13
        [% ELSE %]
13
        [% ELSE %]
14
            [% t("New currency") | html %] &rsaquo;
14
            [% t("New currency") | html %] &rsaquo;
15
        [% END %]
15
        [% END %]
16
    [% END %]
16
    [% END %]
17
    [% IF op == 'delete_confirm' %]
17
    [% IF op == 'delete_confirm' %]
18
        [% tx("Confirm deletion of currency '{currency}'", { currency = currency.currency }) | html %] &rsaquo;
18
        [% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %] &rsaquo;
19
    [% END %]
20
    [% IF op == 'list' %]
21
        [% t("Currencies") | html %] &rsaquo;
22
    [% END %]
19
    [% END %]
23
    [% t("Currencies and exchange rates") | html %] &rsaquo;
20
    [% t("Currencies and exchange rates") | html %] &rsaquo;
24
    [% t("Administration") | html %] &rsaquo;
21
    [% t("Administration") | html %] &rsaquo;
Lines 37-50 Link Here
37
        [% WRAPPER breadcrumb_item %]
34
        [% WRAPPER breadcrumb_item %]
38
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
35
            <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
39
        [% END %]
36
        [% END %]
40
        [% WRAPPER breadcrumb_item %]
37
        [% IF op == 'add_form' || op == 'delete_confirm' %]
41
            <a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a>
38
            [% WRAPPER breadcrumb_item %]
39
                <a href="/cgi-bin/koha/admin/currency.pl">Currencies and exchange rates</a>
40
            [% END %]
41
        [% ELSIF op == 'list' %]
42
            [% WRAPPER breadcrumb_item bc_active= 1 %]
43
                <span>Currencies and exchange rates</span>
44
            [% END %]
42
        [% END %]
45
        [% END %]
43
46
44
        [% IF op == 'add_form' %]
47
        [% IF op == 'add_form' %]
45
            [% WRAPPER breadcrumb_item bc_active= 1 %]
48
            [% WRAPPER breadcrumb_item bc_active= 1 %]
46
                [% IF currency %]
49
                [% IF currency %]
47
                    <span>Modify currency '[% currency.currency | html %]'</span>
50
                    [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %]
48
                [% ELSE %]
51
                [% ELSE %]
49
                    <span>New currency</span>
52
                    <span>New currency</span>
50
                [% END %]
53
                [% END %]
Lines 53-66 Link Here
53
56
54
        [% IF op == 'delete_confirm' %]
57
        [% IF op == 'delete_confirm' %]
55
            [% WRAPPER breadcrumb_item bc_active= 1 %]
58
            [% WRAPPER breadcrumb_item bc_active= 1 %]
56
                <span>Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</span>
59
                [% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %]
57
            [% END %]
58
59
        [% ELSIF op == 'list' %]
60
            [% WRAPPER breadcrumb_item bc_active= 1 %]
61
                <span>Currencies</span>
62
            [% END %]
60
            [% END %]
63
        [% END %]
61
        [% END %]
62
63
64
    [% END #/ WRAPPER breadcrumbs %]
64
    [% END #/ WRAPPER breadcrumbs %]
65
[% END #/ WRAPPER sub-header.inc %]
65
[% END #/ WRAPPER sub-header.inc %]
66
66
Lines 100-117 Link Here
100
100
101
[% IF op == 'add_form' %]
101
[% IF op == 'add_form' %]
102
102
103
<h1>
104
    [% IF currency %]
105
        [% tx("Modify currency '{currency_name}'", { currency_name = currency.currency }) | html %]
106
    [% ELSE %]
107
        <span>New currency</span>
108
    [% END %]
109
</h1>
110
103
<form action="/cgi-bin/koha/admin/currency.pl" name="Aform" method="post" class="validated">
111
<form action="/cgi-bin/koha/admin/currency.pl" name="Aform" method="post" class="validated">
104
    <input type="hidden" name="op" value="add_validate" />
112
    <input type="hidden" name="op" value="add_validate" />
105
    <fieldset class="rows">
113
    <fieldset class="rows">
106
        <legend>
114
        <legend class="sr-only">New currency entry form</legend>
107
            <h1>
108
                [% IF currency %]
109
                    <span>Modify currency</span>
110
                [% ELSE %]
111
                    <span>New currency</span>
112
                [% END %]
113
            </h1>
114
        </legend>
115
        <ol>
115
        <ol>
116
            <li>
116
            <li>
117
                [% IF currency %]
117
                [% IF currency %]
Lines 184-190 Link Here
184
    </div>
184
    </div>
185
    [% ELSE %]
185
    [% ELSE %]
186
    <div class="dialog alert">
186
    <div class="dialog alert">
187
        <h1>Confirm deletion of currency [% currency.currency | $HtmlTags tag='span' attributes=>'class="ex"' %]</h1>
187
        <h1>[% tx("Confirm deletion of currency '{currency_name}'", { currency_name = currency.currency }) | html %]</h1>
188
        <table>
188
        <table>
189
            <tr><th>Currency</th>
189
            <tr><th>Currency</th>
190
                <td>[% currency.currency | html %]</td>
190
                <td>[% currency.currency | html %]</td>
191
- 

Return to bug 34403