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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/rotating_collections/editCollections.tt (-7 / +14 lines)
Lines 4-16 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
    [% IF ( op == "new" ) %]
7
    [% IF ( op == "new" || op == "edit" ) %]
8
        [% t("Add a new collection") | html %]
8
        [% IF ( previousActionEdit ) %]
9
            [% t("Edit collection") | html %] &rsaquo;
10
            [% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]
11
        [% ELSE %]
12
            [% t("Add a new collection") | html %]
13
        [% END %]
9
    [% ELSIF ( op == "cud-delete" ) %]
14
    [% ELSIF ( op == "cud-delete" ) %]
10
        [% t("Collection deleted") | html %]
15
        [% t("Collection deleted") | html %]
11
    [% ELSE %]
16
    [% ELSIF ( op == "cud-create" ) %]
12
        [% t("Edit collection") | html %] &rsaquo;
17
        [% IF ( createSuccess ) %]
13
        [% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]
18
            [% t("Collection created successfully") | html %]
19
        [% ELSE %]
20
            [% t("Collection creation failed") | html %]
21
        [% END %]
14
    [% END %] &rsaquo;
22
    [% END %] &rsaquo;
15
    [% t("Rotating collections") | html %] &rsaquo;
23
    [% t("Rotating collections") | html %] &rsaquo;
16
    [% t("Tools") | html %] &rsaquo;
24
    [% t("Tools") | html %] &rsaquo;
Lines 52-58 Link Here
52
            [% END %]
60
            [% END %]
53
        [% ELSE %]
61
        [% ELSE %]
54
            [% WRAPPER breadcrumb_item %]
62
            [% WRAPPER breadcrumb_item %]
55
                <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% editColId | uri %]">[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]</em></a>
63
                <a href="/cgi-bin/koha/rotating_collections/addItems.pl?colId=[% editColId | uri %]">[% tx("Collection '{collection_title}'", { collection_title = editColTitle }) | html %]</a>
56
            [% END %]
64
            [% END %]
57
            [% WRAPPER breadcrumb_item bc_active= 1 %]
65
            [% WRAPPER breadcrumb_item bc_active= 1 %]
58
                [% t("Edit collection") | html %]
66
                [% t("Edit collection") | html %]
59
- 

Return to bug 37213