]> git.koha-community.org Git - koha.git/blob - koha-tmpl/intranet-tmpl/prog/en/modules/admin/sms_providers.tt
Bug 33909: Improve translation of title tags: Administration
[koha.git] / koha-tmpl / intranet-tmpl / prog / en / modules / admin / sms_providers.tt
1 [% USE raw %]
2 [% USE Asset %]
3 [% PROCESS 'i18n.inc' %]
4 [% SET footerjs = 1 %]
5 [% INCLUDE 'doc-head-open.inc' %]
6 <title>[% FILTER collapse %]
7     [% t("SMS cellular providers") | html %] &rsaquo;
8     [% t("Administration") | html %] &rsaquo;
9     [% t("Koha") | html %]
10 [% END %]</title>
11 [% INCLUDE 'doc-head-close.inc' %]
12 </head>
13
14 <body id="admin_sms_providers" class="admin">
15 [% WRAPPER 'header.inc' %]
16     [% INCLUDE 'prefs-admin-search.inc' %]
17 [% END %]
18
19 [% WRAPPER 'sub-header.inc' %]
20     [% WRAPPER breadcrumbs %]
21         [% WRAPPER breadcrumb_item %]
22             <a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a>
23         [% END %]
24         [% WRAPPER breadcrumb_item bc_active= 1 %]
25             <span>SMS cellular providers</span>
26         [% END %]
27     [% END #/ WRAPPER breadcrumbs %]
28 [% END #/ WRAPPER sub-header.inc %]
29
30 <div class="main container-fluid">
31     <div class="row">
32         <div class="col-sm-10 col-sm-push-2">
33             <main>
34
35                 <div id="toolbar" class="btn-toolbar">
36                     <a class="btn btn-default" id="new_provider" href="#"><i class="fa fa-plus"></i> New SMS provider</a>
37                 </div>
38
39                 <h1>SMS cellular providers</h1>
40
41                 [% IF providers.count %]
42                     <div id="providers" class="page-section">
43                         <table>
44                             <thead>
45                                 <tr>
46                                     <th>Name</th>
47                                     <th>Domain</th>
48                                     <th title="Patrons using this provider">Patrons</th>
49                                     <th>&nbsp;</th>
50                                 </tr>
51                             </thead>
52
53                             <tbody>
54                                 [% FOREACH p IN providers %]
55                                     <tr>
56                                         <td id="name_[% p.id | html %]">[% p.name | html %]</td>
57                                         <td id="domain_[% p.id | html %]">[% p.domain | html %]</td>
58                                         <td id="patrons_using_[% p.id | html %]">[% p.patrons_using | html %]</td>
59                                         <td class="actions">
60                                             <a class="btn btn-default btn-xs edit" href="#" id="edit_[% p.id | html %]" data-providerid="[% p.id | html %]">
61                                                 <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit
62                                             </a>
63                                             <a class="btn btn-default btn-xs delete" href="#" data-providerid="[% p.id | html %]" data-patrons_using="[% p.patrons_using | html %]" id="delete_[% p.id | html %]">
64                                                 <i class="fa fa-trash-can"></i> Delete
65                                             </a>
66                                         </td>
67                                     </tr>
68                                 [% END %]
69                             </tbody>
70                         </table>
71                     </div> <!-- /.page-section -->
72                 [% ELSE %]
73
74                     <div class="dialog message">
75                         There are no SMS cellular providers defined.
76                     </div>
77
78                 [% END %]
79
80                 <div id="sms_add_form">
81                     <form id="sms_form" action="sms_providers.pl" method="post" class="validated">
82                         <fieldset class="rows">
83                             <legend>Add an SMS cellular provider</legend>
84                             <input type="hidden" id="id" name="id" value="" />
85                             <input type="hidden" id="op" name="op" value="add_update" />
86                             <ol>
87                                 <li>
88                                     <label for="name" class="required">Name: </label>
89                                     <input type="text" id="name" name="name" required="required" />
90                                     <span class="required">Required</span>
91                                 </li>
92                                 <li>
93                                     <label for="domain" class="required">Domain: </label>
94                                     <input type="text" id="domain" name="domain" required="required" size="40"/>
95                                     <span class="required">Required</span>
96                                 </li>
97                             </ol>
98                         </fieldset>
99                         <fieldset class="action">
100                             <input type="submit" id="submit_save" class="btn btn-primary" value="Submit" />
101                             <input type="submit" id="submit_update" class="btn btn-primary" value="Submit" />
102                             <a class="cancel cancel_edit" id="cancel" href="sms_providers.pl">Cancel</a>
103                         </fieldset>
104                     </form>
105                 </div>
106
107             </main>
108         </div> <!-- /.col-sm-10.col-sm-push-2 -->
109
110         <div class="col-sm-2 col-sm-pull-10">
111             <aside>
112                 [% INCLUDE 'admin-menu.inc' %]
113             </aside>
114         </div> <!-- /.col-sm-2.col-sm-pull-10 -->
115      </div> <!-- /.row -->
116
117 [% MACRO jsinclude BLOCK %]
118     [% Asset.js("js/admin-menu.js") | $raw %]
119     [% Asset.js("js/sms_providers.js") | $raw %]
120 [% END %]
121 [% INCLUDE 'intranet-bottom.inc' %]