X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/345248fd59538b5bfabc5fc54defdc17f76481f3..bfe3243c4cdeacea07e53d6365bc384dfd0e6b4d:/templates/webpages/admin/list_users.html diff --git a/templates/webpages/admin/list_users.html b/templates/webpages/admin/list_users.html index a48685e6f..0d75e6b0c 100644 --- a/templates/webpages/admin/list_users.html +++ b/templates/webpages/admin/list_users.html @@ -1,61 +1,90 @@ [%- USE T8 %] -[%- USE HTML %] - - +[%- 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 %] +
[% 'Login Name' | $T8 %][% 'Name' | $T8 %][% 'Company' | $T8 %][% 'Templates' | $T8 %][% 'Print' | $T8 %][% 'Language' | $T8 %][% 'Dataset' | $T8 %][% 'Host' | $T8 %][% 'Last Action' | $T8 %]
+ + + + + + + - [% FOREACH row = MEMBERS %] - - - - - - - - - - - + [%- FOREACH client = CLIENTS %] + + + + + + - [% END %] + [%- END %] +
[% 'Client name' | $T8 %][% 'Database ID' | $T8 %][% 'Database name' | $T8 %][% 'Database Host' | $T8 %][% 'Database User' | $T8 %]
 [% HTML.escape(row.login) %] [% HTML.escape(row.name) %] [% HTML.escape(row.company) %] [% HTML.escape(row.templates) %] [% HTML.escape(row.template_format) %] [% HTML.escape(row.countrycode) %] [% HTML.escape(row.dbname) %] [% IF row.dbhost %][% HTML.escape(row.dbhost) %][% ELSE %]localhost[% END %]  - [% IF( row.last_action ) %] - [% HTML.escape(row.last_action) %] - [% ELSE %] - [% 'not logged in' | $T8 %] - [% END %]
[% 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 %] - - [% 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 %]

@@ -63,7 +92,9 @@
-

[% 'User Login' | $T8 %]

+
+ +

[% 'User Login' | $T8 %]

@@ -82,6 +113,3 @@
- -
-