Bug 33076: (QA follow-up) Update context hint to "EDIFACT message QUOTE"
[koha-ffzg.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / edi_accounts.tt
index 4e37967..249b3ed 100644 (file)
@@ -1,6 +1,7 @@
 [% USE raw %]
 [% USE Koha %]
 [% USE Asset %]
+[% PROCESS 'i18n.inc' %]
 [% SET footerjs = 1 %]
 [% INCLUDE 'doc-head-open.inc' %]
 <title>
@@ -17,55 +18,44 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
 [% INCLUDE 'doc-head-close.inc' %]
 </head>
 <body id="admin_edi_acct" class="admin">
-[% INCLUDE 'header.inc' %]
-[% INCLUDE 'prefs-admin-search.inc' %]
+[% WRAPPER 'header.inc' %]
+    [% INCLUDE 'prefs-admin-search.inc' %]
+[% END %]
 
-<nav id="breadcrumbs" aria-label="Breadcrumb" class="breadcrumb">
-    <ol>
-        <li>
-            <a href="/cgi-bin/koha/mainpage.pl">Home</a>
-        </li>
-        <li>
+[% WRAPPER 'sub-header.inc' %]
+    [% WRAPPER breadcrumbs %]
+        [% WRAPPER breadcrumb_item %]
             <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
-        </li>
+        [% END %]
 
-        [% IF acct_form %]
-            <li>
+        [% IF acct_form || delete_confirm %]
+            [% WRAPPER breadcrumb_item %]
                 <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a>
-            </li>
+            [% END %]
+        [% ELSE %]
+            [% WRAPPER breadcrumb_item bc_active= 1 %]
+                <span>EDI accounts</span>
+            [% END %]
+        [% END %]
+
+        [% IF acct_form %]
             [% IF account %]
-                <li>
-                    <a href="#" aria-current="page">
-                        Modify account
-                    </a>
-                </li>
+                [% WRAPPER breadcrumb_item bc_active= 1 %]
+                    <span>Modify account</span>
+                [% END %]
             [% ELSE %]
-                <li>
-                    <a href="#" aria-current="page">
-                        Add new account
-                    </a>
-                </li>
+                [% WRAPPER breadcrumb_item bc_active= 1 %]
+                    <span>Add new account</span>
+                [% END %]
             [% END %]
 
         [% ELSIF delete_confirm %]
-            <li>
-                <a href="/cgi-bin/koha/admin/edi_accounts.pl">EDI accounts</a>
-            </li>
-            <li>
-                <a href="#" aria-current="page">
-                    Confirm deletion of account
-                </a>
-            </li>
-
-        [% ELSE %]
-            <li>
-                <a href="#" aria-current="page">
-                    EDI accounts
-                </a>
-            </li>
+            [% WRAPPER breadcrumb_item bc_active= 1 %]
+                <span>Confirm deletion of account</span>
+            [% END %]
         [% END %]
-    </ol>
-</nav>
+    [% END #/ WRAPPER breadcrumbs %]
+[% END #/ WRAPPER sub-header.inc %]
 
 <div class="main container-fluid">
     <div class="row">
@@ -263,7 +253,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
   </fieldset>
 
   <fieldset class="action">
-    <input type="submit" value="Submit" />
+    <input type="submit" class="btn btn-primary" value="Submit" />
     <a href="/cgi-bin/koha/admin/edi_accounts.pl" class="cancel">Cancel</a>
   </fieldset>
 </form>
@@ -301,7 +291,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
 [% IF display %]
 [% IF ( ediaccounts ) %]
 <h1>Vendor EDI accounts</h1>
-
+<div class="page-section">
     <table>
     <tr>
        <th>ID</th>
@@ -316,7 +306,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
        <th>Qualifier</th>
        <th>SAN</th>
        <th>Standard</th>
-       <th>Quotes</th>
+       <th>[% tp('EDIFACT message QUOTE', 'Quotes') | html %]</th>
        <th>Orders</th>
        <th>Invoices</th>
        <th>Responses</th>
@@ -375,6 +365,7 @@ EDI accounts &rsaquo; Administration &rsaquo; Koha
     </tr>
     [% END %]
     </table>
+</div> <!-- /.page-section -->
     [% ELSE %]
         <div class="dialog message">
             There are no EDI accounts.