X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/2d3f862b7af94f31860dd264eef7c1bc7de7eae2..bfe3243c4cdeacea07e53d6365bc384dfd0e6b4d:/templates/webpages/admin/list_users.html diff --git a/templates/webpages/admin/list_users.html b/templates/webpages/admin/list_users.html index 9ea6b2304..0d75e6b0c 100644 --- a/templates/webpages/admin/list_users.html +++ b/templates/webpages/admin/list_users.html @@ -1,74 +1,115 @@ [%- USE T8 %] -[% USE HTML %] +[%- USE HTML %][%- USE LxERP -%][%- USE L -%] +

[% title %]

-
[% 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.") %] +

- [% FOREACH row = MEMBERS %] -
- - - - - - - +[%- ELSE %] +
[% 'Login' | $T8 %][% 'Name' | $T8 %][% 'Company' | $T8 %][% 'Driver' | $T8 %][% 'Host' | $T8 %][% 'Dataset' | $T8 %][% 'Templates' | $T8 %]
[% HTML.escape(row.login) %][% HTML.escape(row.name) %][% HTML.escape(row.company) %][% HTML.escape(row.dbdriver) %][% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %][% HTML.escape(row.dbname) %][% HTML.escape(row.templates) %]
+ + + + + + - [% END %] - -
[% 'Client name' | $T8 %][% 'Database ID' | $T8 %][% 'Database name' | $T8 %][% 'Database Host' | $T8 %][% 'Database User' | $T8 %]

-

+ [%- FOREACH client = CLIENTS %] + + [% 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 %] + +[%- 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 %] - - [% ELSE %] - + [% 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 %]

-
Lx-Office ERP [% 'Login' | $T8 %]
+ + - - + + - - + +
[% 'Name' | $T8 %][% 'Login Name' | $T8 %]  
[% 'Password' | $T8 %]
- -
- - -