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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_accounts.tt (-17 / +16 lines)
Lines 7-19 Link Here
7
<title>[% FILTER collapse %]
7
<title>[% FILTER collapse %]
8
    [% IF acct_form %]
8
    [% IF acct_form %]
9
        [% IF account %]
9
        [% IF account %]
10
            [% t("Modify account") | html %]
10
            [% tx("Modify account '{edi_account}' for vendor '{vendor}'", { edi_account = account.description, vendor = account.vendor.name }) %]
11
        [% ELSE %]
11
        [% ELSE %]
12
            [% t("Add new account") | html %]
12
            [% t("New account") | html %]
13
        [% END %] &rsaquo;
13
        [% END %] &rsaquo;
14
    [% END %]
14
    [% END %]
15
    [% IF delete_confirm %]
15
    [% IF delete_confirm %]
16
        [% t("Confirm deletion of account") | html %] &rsaquo;
16
        [% tx("Confirm deletion of account '{edi_account}' for vendor '{vendor}'", { edi_account = account.description, vendor = account.vendor.name }) %]
17
    [% END %]
17
    [% END %]
18
    [% t("EDI accounts") | html %] &rsaquo;
18
    [% t("EDI accounts") | html %] &rsaquo;
19
    [% t("Administration") | html %] &rsaquo;
19
    [% t("Administration") | html %] &rsaquo;
Lines 45-61 Link Here
45
        [% IF acct_form %]
45
        [% IF acct_form %]
46
            [% IF account %]
46
            [% IF account %]
47
                [% WRAPPER breadcrumb_item bc_active= 1 %]
47
                [% WRAPPER breadcrumb_item bc_active= 1 %]
48
                    <span>Modify account</span>
48
                    [% tx("Modify account '{edi_account}' for vendor '{vendor}'", { edi_account = account.description, vendor = account.vendor.name }) %]
49
                [% END %]
49
                [% END %]
50
            [% ELSE %]
50
            [% ELSE %]
51
                [% WRAPPER breadcrumb_item bc_active= 1 %]
51
                [% WRAPPER breadcrumb_item bc_active= 1 %]
52
                    <span>Add new account</span>
52
                    <span>New account</span>
53
                [% END %]
53
                [% END %]
54
            [% END %]
54
            [% END %]
55
55
56
        [% ELSIF delete_confirm %]
56
        [% ELSIF delete_confirm %]
57
            [% WRAPPER breadcrumb_item bc_active= 1 %]
57
            [% WRAPPER breadcrumb_item bc_active= 1 %]
58
                <span>Confirm deletion of account</span>
58
                [% tx("Confirm deletion of account '{edi_account}' for vendor '{vendor}'", { edi_account = account.description, vendor = account.vendor.name }) %]
59
            [% END %]
59
            [% END %]
60
        [% END %]
60
        [% END %]
61
    [% END #/ WRAPPER breadcrumbs %]
61
    [% END #/ WRAPPER breadcrumbs %]
Lines 88-103 Link Here
88
  [% IF account %]
88
  [% IF account %]
89
  <input type="hidden" name="id" value="[% account.id | html %]" />
89
  <input type="hidden" name="id" value="[% account.id | html %]" />
90
  [% END %]
90
  [% END %]
91
    <h1>
92
        [% IF account %]
93
            [% tx("Modify account '{edi_account}' for vendor '{vendor}'", { edi_account = account.description, vendor = account.vendor.name }) %]
94
        [% ELSE %]
95
            <span>New account</span>
96
        [% END %]
97
    </h1>
91
  <fieldset class="rows">
98
  <fieldset class="rows">
92
  <legend>
99
    <legend class="sr-only">Account details</legend>
93
        <h1>
94
            [% IF account %]
95
                Modify account
96
            [% ELSE %]
97
                New account
98
            [% END %]
99
        </h1>
100
  </legend>
101
100
102
  <ol>
101
  <ol>
103
  <li>
102
  <li>
Lines 265-271 Link Here
265
[% END %]
264
[% END %]
266
[% IF delete_confirm %]
265
[% IF delete_confirm %]
267
<div class="dialog alert">
266
<div class="dialog alert">
268
<h1>Delete this account?</h1>
267
<h1>Confirm deletion of account?</h1>
269
<table>
268
<table>
270
    <tr>
269
    <tr>
271
    <th>Vendor</th>
270
    <th>Vendor</th>
Lines 294-300 Link Here
294
[% END %]
293
[% END %]
295
[% IF display %]
294
[% IF display %]
296
[% IF ( ediaccounts ) %]
295
[% IF ( ediaccounts ) %]
297
<h1>Vendor EDI accounts</h1>
296
<h1>EDI accounts</h1>
298
<div class="page-section">
297
<div class="page-section">
299
    <table>
298
    <table>
300
    <tr>
299
    <tr>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/edi_ean_accounts.tt (-17 / +31 lines)
Lines 6-18 Link Here
6
<title>[% FILTER collapse %]
6
<title>[% FILTER collapse %]
7
    [% IF ean_form %]
7
    [% IF ean_form %]
8
        [% IF ean %]
8
        [% IF ean %]
9
            [% t("Modify library EAN") | html %]
9
            [% tx("Modify library EAN '{ean}'", { ean = ean.description }) %]
10
        [% ELSE %]
10
        [% ELSE %]
11
            [% t("Add new library EAN") | html %]
11
            [% t("New library EAN") | html %]
12
        [% END %] &rsaquo;
12
        [% END %] &rsaquo;
13
    [% END %]
13
    [% END %]
14
    [% IF delete_confirm %]
14
    [% IF delete_confirm %]
15
        [% t("Confirm deletion of EAN") | html %] &rsaquo;
15
        [% IF ( ean.branch.branchname ) %]
16
            [% tx("Confirm deletion of EAN '{ean}' for '{library}'?", { ean = ean.description, library = ean.branch.branchname }) %]
17
        [% ELSE %]
18
            [% tx("Confirm deletion of EAN '{ean}'?", { ean = ean.description }) %]
19
        [% END %] &rsaquo;
16
    [% END %]
20
    [% END %]
17
    [% t("Library EANs") | html %] &rsaquo;
21
    [% t("Library EANs") | html %] &rsaquo;
18
    [% t("Administration") | html %] &rsaquo;
22
    [% t("Administration") | html %] &rsaquo;
Lines 37-45 Link Here
37
            [% END %]
41
            [% END %]
38
            [% WRAPPER breadcrumb_item bc_active= 1%]
42
            [% WRAPPER breadcrumb_item bc_active= 1%]
39
                [% IF ean %]
43
                [% IF ean %]
40
                    <span>Modify library EAN</span>
44
                    [% tx("Modify library EAN '{ean}'", { ean = ean.description }) %]
41
                [% ELSE %]
45
                [% ELSE %]
42
                    <span>Add new library EAN</span>
46
                    <span>New library EAN</span>
43
                [% END %]
47
                [% END %]
44
            [% END %]
48
            [% END %]
45
49
Lines 48-54 Link Here
48
                <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
52
                <a href="/cgi-bin/koha/admin/edi_ean_accounts.pl">Library EANs</a>
49
            [% END %]
53
            [% END %]
50
            [% WRAPPER breadcrumb_item bc_active= 1%]
54
            [% WRAPPER breadcrumb_item bc_active= 1%]
51
                <span>Confirm deletion of EAN</span>
55
                [% IF ( ean.branch.branchname ) %]
56
                    [% tx("Confirm deletion of EAN '{ean}' for '{library}'?", { ean = ean.description, library = ean.branch.branchname }) %]
57
                [% ELSE %]
58
                    [% tx("Confirm deletion of EAN '{ean}'?", { ean = ean.description }) %]
59
                [% END %]
52
            [% END %]
60
            [% END %]
53
61
54
        [% ELSE %]
62
        [% ELSE %]
Lines 81-96 Link Here
81
      <input type="hidden" name="id" value="[% ean.id | html %]" />
89
      <input type="hidden" name="id" value="[% ean.id | html %]" />
82
  [% END %]
90
  [% END %]
83
91
92
    <h1>
93
        [% IF ean %]
94
            [% tx("Modify library EAN '{ean}'", { ean = ean.description }) %]
95
        [% ELSE %]
96
            <span>New EAN</span>
97
        [% END %]
98
    </h1>
99
84
  <fieldset class="rows">
100
  <fieldset class="rows">
85
      <legend>
101
      <legend class="sr-only">EAN details</legend>
86
            <h1>
87
                [% IF ean %]
88
                    Modify EAN
89
                [% ELSE %]
90
                    New EAN
91
                [% END %]
92
            </h1>
93
      </legend>
94
102
95
      <ol>
103
      <ol>
96
          <li>
104
          <li>
Lines 142-148 Link Here
142
150
143
[% IF delete_confirm %]
151
[% IF delete_confirm %]
144
<div class="dialog alert">
152
<div class="dialog alert">
145
<h1>Delete EAN [% ean.ean | html %] for [% ean.branch.branchname | html %]?</h1>
153
    <h1>
154
        [% IF ( ean.branch.branchname ) %]
155
            [% tx("Confirm deletion of EAN '{ean}' for '{library}'?", { ean = ean.description, library = ean.branch.branchname }) %]
156
        [% ELSE %]
157
            [% tx("Confirm deletion of EAN '{ean}'?", { ean = ean.description }) %]
158
        [% END %]
159
    </h1>
160
146
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
161
<form action="/cgi-bin/koha/admin/edi_ean_accounts.pl" method="post">
147
    <input type="hidden" name="op" value="delete_confirmed" />
162
    <input type="hidden" name="op" value="delete_confirmed" />
148
    <input type="hidden" name="id" value="[% ean.id | html %]" />
163
    <input type="hidden" name="id" value="[% ean.id | html %]" />
149
- 

Return to bug 34405