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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-7 / +12 lines)
Lines 11-19 Link Here
11
<title>[% FILTER collapse %]
11
<title>[% FILTER collapse %]
12
    [% IF op == 'add_form' %]
12
    [% IF op == 'add_form' %]
13
        [% IF library %]
13
        [% IF library %]
14
            [% t("Modify library") | html %]
14
            [% tx("Modify library '{library}'", { library = library.branchcode }) | html %]
15
        [% ELSE %]
15
        [% ELSE %]
16
            [% tx("New library {library}", { library = library.branchcode }) | html %]
16
            [% t("New library") | html %]
17
        [% END %] &rsaquo;
17
        [% END %] &rsaquo;
18
    [% ELSIF op == 'delete_confirm' %]
18
    [% ELSIF op == 'delete_confirm' %]
19
        [% tx("Confirm deletion of library '{library}'", { library = library.branchcode }) | html %] &rsaquo;
19
        [% tx("Confirm deletion of library '{library}'", { library = library.branchcode }) | html %] &rsaquo;
Lines 49-65 Link Here
49
        [% IF op == 'add_form'  %]
49
        [% IF op == 'add_form'  %]
50
            [% IF library %]
50
            [% IF library %]
51
                [% WRAPPER breadcrumb_item bc_active= 1 %]
51
                [% WRAPPER breadcrumb_item bc_active= 1 %]
52
                    <span>Modify library</span>
52
                    [% tx("Modify library '{library}'", { library = library.branchcode }) | html %]
53
                [% END %]
53
                [% END %]
54
            [% ELSE %]
54
            [% ELSE %]
55
               [% WRAPPER breadcrumb_item bc_active= 1 %]
55
               [% WRAPPER breadcrumb_item bc_active= 1 %]
56
                    <span>New library [% library.branchcode | html %]</span>
56
                    <span>New library</span>
57
                [% END %]
57
                [% END %]
58
            [% END %]
58
            [% END %]
59
59
60
        [% ELSIF op == 'delete_confirm' %]
60
        [% ELSIF op == 'delete_confirm' %]
61
            [% WRAPPER breadcrumb_item bc_active= 1 %]
61
            [% WRAPPER breadcrumb_item bc_active= 1 %]
62
                <span>Confirm deletion of library '[% library.branchcode | html %]'</span>
62
                [% tx("Confirm deletion of library '{library}'", { library = library.branchcode }) | html %]
63
            [% END %]
63
            [% END %]
64
64
65
        [% ELSIF op == 'view' %]
65
        [% ELSIF op == 'view' %]
Lines 116-122 Link Here
116
[% END %]
116
[% END %]
117
117
118
[% IF op == 'add_form' %]
118
[% IF op == 'add_form' %]
119
    <h1>[% IF library %]Modify library[% ELSE %]New library[% END %]</h1>
119
    <h1>
120
        [% IF library %]
121
            [% tx("Modify library '{library}'", { library = library.branchcode }) | html %]
122
        [% ELSE %]
123
            New library
124
        [% END %]
125
    </h1>
120
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
126
    <form action="/cgi-bin/koha/admin/branches.pl" id="Aform" name="Aform" class="validated" method="post">
121
        <fieldset class="rows">
127
        <fieldset class="rows">
122
            <input type="hidden" name="op" value="add_validate" />
128
            <input type="hidden" name="op" value="add_validate" />
123
- 

Return to bug 34378