X-Git-Url: http://wagnertech.de/gitweb/gitweb.cgi/mfinanz.git/blobdiff_plain/288111da982510d86d73db5cef54c52e07a84f5a..a3ae31c:/templates/webpages/admin/show.html diff --git a/templates/webpages/admin/show.html b/templates/webpages/admin/show.html index 06d0e9176..b707237f7 100644 --- a/templates/webpages/admin/show.html +++ b/templates/webpages/admin/show.html @@ -7,17 +7,17 @@
[% LxERP.t8("Actions") %]: - [% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %] - | [% L.link(SELF.url_for(action="new_user"), LxERP.t8("Add User")) %] | - [% L.link(SELF.url_for(action="edit_groups"), LxERP.t8("Edit groups")) %] + [% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %] + | + [% L.link(SELF.url_for(action="new_group"), LxERP.t8("Add User Group")) %] | [% 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")) %] + [% L.link(SELF.url_for(action="list_printers"), LxERP.t8("Printer Management")) %] | - [% IF LOCKED %] + [% IF SELF.is_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")) %] @@ -34,24 +34,25 @@
-[%- IF !USERS.size %] +[%- IF !SELF.all_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.") %] + [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %]

[%- ELSE %] - - - - + + + + -[% FOREACH user = USERS %] +[% FOREACH user = SELF.all_users %] [%- SET config = user.config_values %] @@ -64,29 +65,55 @@
-[%- IF !CLIENTS.size %] +[%- IF !SELF.all_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.") %] + [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %]

[%- ELSE %]
[% LxERP.t8('Login Name') %][% LxERP.t8('Name') %][% LxERP.t8('Language') %]
[% LxERP.t8('Login Name') %][% LxERP.t8('Name') %][% LxERP.t8('Language') %]
[% L.link(SELF.url_for(action="edit_user", id=user.id), HTML.escape(user.login)) %]
- - - - - - + + + + + + + -[%- FOREACH client = CLIENTS %] +[%- FOREACH client = SELF.all_clients %] - - + + + + +[%- END %] +
[% LxERP.t8('Client name') %][% LxERP.t8('Database ID') %][% LxERP.t8('Database name') %][% LxERP.t8('Database Host') %][% LxERP.t8('Database User') %]
[% LxERP.t8('Database ID') %][% LxERP.t8('Client name') %][% LxERP.t8('Database name') %][% LxERP.t8('Database Host') %][% LxERP.t8('Database User') %][% LxERP.t8('Default client') %]
[% L.link(SELF.url_for(action="edit_client", client_id=client.id), HTML.escape(client.name)) %][% HTML.escape(client.id) %][% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.id)) %][% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.name)) %] [% HTML.escape(client.dbname) %] [% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %] [% HTML.escape(client.dbuser) %][% IF client.is_default %][% LxERP.t8("Yes") %][%- ELSE %][% LxERP.t8("No") %][%- END %]
+[%- END %] +
+ +
+[%- IF !SELF.all_groups.size %] +

+ [% LxERP.t8("No groups have been created yet.") %] + [% LxERP.t8("In order to use kivitendo you have to create at least a client, a user and a group.") %] +

+ +[%- ELSE %] + + + + + + +[%- FOREACH group = SELF.all_groups %] + + + [%- END %]
[% LxERP.t8('Name') %][% LxERP.t8('Description') %]
[% L.link(SELF.url_for(action="edit_group", id=group.id), HTML.escape(group.name)) %][% HTML.escape(group.description) %]