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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/acqui/vendor_issues.tt (-38 / +37 lines)
Lines 2-21 Link Here
2
[% USE Asset %]
2
[% USE Asset %]
3
[% USE AuthorisedValues %]
3
[% USE AuthorisedValues %]
4
[% USE KohaDates %]
4
[% USE KohaDates %]
5
[% PROCESS 'i18n.inc' %]
5
[% SET footerjs = 1 %]
6
[% SET footerjs = 1 %]
6
[% INCLUDE 'doc-head-open.inc' %]
7
[% INCLUDE 'doc-head-open.inc' %]
7
<title>
8
<title>[% FILTER collapse %]
8
    [% IF op =='add_form' %]
9
    [% IF op =='add_form' %]
9
        [% IF issue.issue_id %]
10
        [% IF issue.issue_id %]
10
            Modify vendor issue
11
            [% tx("Modify vendor issue {issue_number}", { issue_number = issue.issue_id }) | html %]
11
        [% ELSE %]
12
        [% ELSE %]
12
            New vendor issue
13
            [% t("New vendor issue") | html %]
13
        [% END %] &rsaquo; [% ELSE %]
14
        [% END %] &rsaquo;
15
    [% ELSE %]
14
        [% IF op == 'delete_confirm' %]
16
        [% IF op == 'delete_confirm' %]
15
            Confirm deletion of vendor issue &rsaquo; [% END %]
17
            [% t("Confirm deletion of vendor issue") | html %] &rsaquo;
18
        [% END %]
16
    [% END %]
19
    [% END %]
17
    Vendor issue &rsaquo; Acquisition &rsaquo; Koha
20
    [% t("Vendor issues") | html %] &rsaquo;
18
</title>
21
    [% vendor.name | html %] &rsaquo;
22
    [% t("Acquisition") | html %] &rsaquo;
23
    [% t("Koha") | html %]
24
[% END %]</title>
19
[% INCLUDE 'doc-head-close.inc' %]
25
[% INCLUDE 'doc-head-close.inc' %]
20
</head>
26
</head>
21
27
Lines 25-62 Link Here
25
[% END %]
31
[% END %]
26
32
27
[% WRAPPER 'sub-header.inc' %]
33
[% WRAPPER 'sub-header.inc' %]
28
<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
34
    [% WRAPPER breadcrumbs %]
29
    <ol>
35
        [% WRAPPER breadcrumb_item %]
30
        <li>
31
            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
32
        </li>
33
        <li>
34
            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
36
            <a href="/cgi-bin/koha/acqui/acqui-home.pl">Acquisitions</a>
35
        </li>
37
        [% END %]
36
        <li>
38
        [% WRAPPER breadcrumb_item %]
37
            <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]">[% vendor.name | html %]</a>
39
            <a href="/cgi-bin/koha/acqui/supplier.pl?booksellerid=[% vendor.id | uri %]">[% vendor.name | html %]</a>
38
        </li>
40
        [% END %]
39
        [% IF op == 'list' %]
41
        [% IF op == 'list' %]
40
            <li>
42
            [% WRAPPER breadcrumb_item bc_active= 1 %]
41
                <a href="#" aria-current="page">Issues</a>
43
                [% t("Vendor issues") | html %]
42
            </li>
44
            [% END %]
43
        [% ELSE %]
45
        [% ELSE %]
44
            <li>
46
            [% WRAPPER breadcrumb_item %]
45
                <a href="/cgi-bin/koha/acqui/vendor_issues.pl?booksellerid=[% vendor.id | uri %]">Issues</a>
47
                <a href="/cgi-bin/koha/acqui/vendor_issues.pl?booksellerid=[% vendor.id | uri %]">Vendor issues</a>
46
            </li>
48
            [% END %]
47
            <li>
49
48
                <a href="#" aria-current="page">
50
            [% WRAPPER breadcrumb_item bc_active= 1 %]
49
                    [% IF issue %]
51
                [% IF issue %]
50
                        Issue #[% issue.issue_id| html %]
52
                    [% tx("Modify vendor issue {issue_number}", { issue_number = issue.issue_id }) | html %]
51
                    [% ELSE %]
53
                [% ELSE %]
52
                        New issue
54
                    [% t("New vendor issue") | html %]
53
                    [% END %]
55
                [% END %]
54
                </a>
56
            [% END %]
55
            </li>
56
        [% END %]
57
        [% END %]
57
    </ol>
58
    [% END #/ WRAPPER breadcrumbs %]
58
</nav>
59
[% END #/ WRAPPER sub-header.inc %]
59
[% END %]
60
60
61
<div class="main container-fluid">
61
<div class="main container-fluid">
62
    <div class="row">
62
    <div class="row">
Lines 86-92 Link Here
86
86
87
[% IF op == 'add_form' %]
87
[% IF op == 'add_form' %]
88
    [% IF issue %]
88
    [% IF issue %]
89
        <h1>Modify a vendor issue</h1>
89
        <h1>[% tx("Modify vendor issue {issue_number}", { issue_number = issue.issue_id }) | html %]</h1>
90
    [% ELSE %]
90
    [% ELSE %]
91
        <h1>New vendor issue</h1>
91
        <h1>New vendor issue</h1>
92
    [% END %]
92
    [% END %]
Lines 131-137 Link Here
131
131
132
[% IF op == 'delete_confirm' %]
132
[% IF op == 'delete_confirm' %]
133
    <div class="dialog alert">
133
    <div class="dialog alert">
134
        <h1>Delete issue #[% issue.issue_id | html %]?<h1>
134
        <h1>Delete issue [% issue.issue_id | html %]?</h1>
135
        <form action="/cgi-bin/koha/acqui/vendor_issues.pl" method="post">
135
        <form action="/cgi-bin/koha/acqui/vendor_issues.pl" method="post">
136
            <input type="hidden" name="op" value="delete_confirmed" />
136
            <input type="hidden" name="op" value="delete_confirmed" />
137
            <input type="hidden" name="issue_id" value="[% issue.issue_id | html %]" />
137
            <input type="hidden" name="issue_id" value="[% issue.issue_id | html %]" />
Lines 145-151 Link Here
145
[% END %]
145
[% END %]
146
146
147
[% IF op == 'show' %]
147
[% IF op == 'show' %]
148
    <h1>Vendor issue #[% issue.issue_id | html %]</h1>
148
    <h1>Vendor issue [% issue.issue_id | html %]</h1>
149
149
150
        <fieldset class="rows">
150
        <fieldset class="rows">
151
            <ol>
151
            <ol>
152
- 

Return to bug 35417