[%- USE T8 %] [%- USE HTML %][%- USE LxERP -%][%- USE L -%]

[% title %]

[%- IF !CLIENTS.size %]

[% LxERP.t8("No clients have been created yet.") %] [% 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.") %]

[%- ELSE %] [%- FOREACH client = CLIENTS %] [%- END %]
[% 'Client name' | $T8 %] [% 'Database ID' | $T8 %] [% 'Database name' | $T8 %] [% 'Database Host' | $T8 %] [% 'Database User' | $T8 %]
[% HTML.escape(client.name) %] [% HTML.escape(client.id) %] [% HTML.escape(client.dbname) %] [% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %] [% HTML.escape(client.dbuser) %]
[%- END %]
[%- IF !USERS.size %]

[% LxERP.t8("No users have been created yet.") %] [% 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.") %]

[%- ELSE %] [% FOREACH user = USERS %] [%- SET config = user.config_values %] [% END %]
[% 'Login Name' | $T8 %] [% 'Name' | $T8 %] [% 'Language' | $T8 %]
[% HTML.escape(user.login) %] [% HTML.escape(config.name) %] [% HTML.escape(config.countrycode) %]
[%- END %]
[% L.link(SELF.url_for(action="add_client"), LxERP.t8("Add Client")) %] | [% L.link(SELF.url_for(action="add_user"), LxERP.t8("Add User")) %] | [% L.link(SELF.url_for(action="edit_groups"), LxERP.t8("Edit groups")) %] | [% L.link(SELF.url_for(action="pg_database_administration", controller="admin.pl"), LxERP.t8("Pg Database Administration")) %] | [% L.link(SELF.url_for(action="printer_management", controller="admin.pl"), LxERP.t8("Printer Management")) %] | [% IF LOCKED %] [% L.link(SELF.url_for(action="unlock_system"), LxERP.t8("Unlock System")) %] [% ELSE %] [% L.link(SELF.url_for(action="lock_system"), LxERP.t8("Lock System")) %] [% END %] | [% L.link(SELF.url_for(action="logout"), LxERP.t8("Logout")) %]

[% 'Click on login name to edit!' | $T8 %]

[% 'To add a user to a group edit a name, change the login name and save. A new user with the same variables will then be saved under the new login name.' | $T8 %]


[% 'User Login' | $T8 %]

[% 'Login Name' | $T8 %]  
[% 'Password' | $T8 %]