1 [%- USE HTML %][%- USE LxERP -%][%- USE L -%]
3 [% INCLUDE 'common/flash.html' %]
8 [% LxERP.t8("Actions") %]:
9 <span class="link_separator"></span>
10 [% L.link(SELF.url_for(action="new_user"), LxERP.t8("Add User")) %]
11 <span class="link_separator">|</span>
12 [% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %]
13 <span class="link_separator">|</span>
14 [% L.link(SELF.url_for(action="edit_groups"), LxERP.t8("Edit groups")) %]
15 <span class="link_separator">|</span>
16 [% L.link(SELF.url_for(action="pg_database_administration", controller="admin.pl"), LxERP.t8("Pg Database Administration")) %]
17 <span class="link_separator">|</span>
18 [% L.link(SELF.url_for(action="printer_management", controller="admin.pl"), LxERP.t8("Printer Management")) %]
19 <span class="link_separator">|</span>
21 [% L.link(SELF.url_for(action="unlock_system"), LxERP.t8("Unlock System")) %]
23 [% L.link(SELF.url_for(action="lock_system"), LxERP.t8("Lock System")) %]
25 <span class="link_separator">|</span>
26 [% L.link(SELF.url_for(action="logout"), LxERP.t8("Logout")) %]
27 <span class="link_separator">|</span>
28 [% L.link(SELF.url_for(controller="LoginScreen", action="user_login"), LxERP.t8("To user login")) %]
33 <div class="tabwidget">
35 <li><a href="#user_list">[%- LxERP.t8("User list") %]</a></li>
36 <li><a href="#client_list">[%- LxERP.t8("Client list") %]</a></li>
42 [% LxERP.t8("No users have been created yet.") %]
43 [% LxERP.t8("In order to use kivitendo you have to create at least one client, one user, and grant that user access to the client.") %]
48 <tr class="listheading">
49 <th>[% LxERP.t8('Login Name') %]</th>
50 <th>[% LxERP.t8('Name') %]</th>
51 <th>[% LxERP.t8('Language') %]</th>
54 [% FOREACH user = USERS %]
55 [%- SET config = user.config_values %]
57 <td>[% L.link(SELF.url_for(action="edit_user", id=user.id), HTML.escape(user.login)) %]</td>
58 <td>[% HTML.escape(config.name) %]</td>
59 <td>[% HTML.escape(config.countrycode) %]</td>
66 <div id="client_list">
67 [%- IF !CLIENTS.size %]
69 [% LxERP.t8("No clients have been created yet.") %]
70 [% LxERP.t8("In order to use kivitendo you have to create at least one client, one user, and grant that user access to the client.") %]
75 <tr class="listheading">
76 <th>[% LxERP.t8('Client name') %]</th>
77 <th>[% LxERP.t8('Database ID') %]</th>
78 <th>[% LxERP.t8('Database name') %]</th>
79 <th>[% LxERP.t8('Database Host') %]</th>
80 <th>[% LxERP.t8('Database User') %]</th>
81 <th>[% LxERP.t8('Default client') %]</th>
84 [%- FOREACH client = CLIENTS %]
86 <td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.name)) %]</td>
87 <td>[% HTML.escape(client.id) %]</td>
88 <td>[% HTML.escape(client.dbname) %]</td>
89 <td>[% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %]</td>
90 <td>[% HTML.escape(client.dbuser) %]</td>
91 <td>[% IF client.is_default %][% LxERP.t8("Yes") %][%- ELSE %][% LxERP.t8("No") %][%- END %]</td>