5 [% INCLUDE 'common/flash.html' %]
7 <h1>[% HTML.escape(title) %]</h1>
9 <div class="tabwidget">
11 <li><a href="#user_list">[% LxERP.t8("User list") %]</a></li>
12 <li><a href="#client_list">[% LxERP.t8("Client list") %]</a></li>
13 <li><a href="#group_list">[% LxERP.t8("Group list") %]</a></li>
16 [% IF !SELF.all_users.size %]
18 [% LxERP.t8("No users have been created yet.") %]
19 [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %]
22 <table class="tbl-list">
23 <caption>[% LxERP.t8('User') %]</caption>
26 <th>[% LxERP.t8('Login Name') %]</th>
27 <th>[% LxERP.t8('Name') %]</th>
28 <th>[% LxERP.t8('Language') %]</th>
32 [% FOREACH user = SELF.all_users %]
33 [% SET config = user.config_values %]
35 <td>[% L.link(SELF.url_for(action="edit_user", id=user.id), HTML.escape(user.login)) %]</td>
36 <td>[% HTML.escape(config.name) %]</td>
37 <td>[% HTML.escape(config.countrycode) %]</td>
45 <div id="client_list">
46 [% IF !SELF.all_clients.size %]
48 [% LxERP.t8("No clients have been created yet.") %]
49 [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %]
52 <table class="tbl-list">
53 <caption>[% LxERP.t8('Clients') %]</caption>
56 <th>[% LxERP.t8('Database ID') %]</th>
57 <th>[% LxERP.t8('Client name') %]</th>
58 <th>[% LxERP.t8('Database name') %]</th>
59 <th>[% LxERP.t8('Database Host') %]</th>
60 <th>[% LxERP.t8('Database User') %]</th>
61 <th>[% LxERP.t8('Default client') %]</th>
62 <th>[% LxERP.t8('Task server') %]</th>
66 [% FOREACH client = SELF.all_clients %]
68 <td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.id)) %]</td>
69 <td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.name)) %]</td>
70 <td>[% HTML.escape(client.dbname) %]</td>
71 <td>[% HTML.escape(client.dbhost) %][% IF client.dbport %]:[% HTML.escape(client.dbport) %][% END %]</td>
72 <td>[% HTML.escape(client.dbuser) %]</td>
73 <td>[% IF client.is_default %][% LxERP.t8("Yes") %][% ELSE %][% LxERP.t8("No") %][% END %]</td>
75 [% IF client.task_server_user %]
76 [% LxERP.t8("execution as user '#1'", client.task_server_user.login) %]
78 [% LxERP.t8("no execution for this client") %]
89 [% IF !SELF.all_groups.size %]
91 [% LxERP.t8("No groups have been created yet.") %]
92 [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %]
96 <table class="tbl-list">
97 <caption>[% LxERP.t8('Groups') %]</caption>
100 <th>[% LxERP.t8('Name') %]</th>
101 <th>[% LxERP.t8('Description') %]</th>
105 [% FOREACH group = SELF.all_groups %]
107 <td>[% L.link(SELF.url_for(action="edit_group", id=group.id), HTML.escape(group.name)) %]</td>
108 <td>[% HTML.escape(group.description) %]</td>