Auftrags-Controller: Speichern und schließen, …
[kivitendo-erp.git] / templates / webpages / admin / show.html
index e046518..2ae4acb 100644 (file)
@@ -2,33 +2,7 @@
 
 [% INCLUDE 'common/flash.html' %]
 
-<h1>[% title %]</h1>
-
-<div>
- [% LxERP.t8("Actions") %]:
- <span class="link_separator"></span>
- [% L.link(SELF.url_for(action="new_user"), LxERP.t8("Add User")) %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(action="new_group"), LxERP.t8("Add User Group")) %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(action="pg_database_administration", controller="admin.pl"), LxERP.t8("Pg Database Administration")) %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(action="list_printers"), LxERP.t8("Printer Management")) %]
- <span class="link_separator">|</span>
- [% 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")) %]
- [% END %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(action="logout"), LxERP.t8("Logout")) %]
- <span class="link_separator">|</span>
- [% L.link(SELF.url_for(controller="LoginScreen", action="user_login"), LxERP.t8("To user login")) %]
-</div>
-
-<hr>
+<h1>[% HTML.escape(title) %]</h1>
 
 <div class="tabwidget">
  <ul>
 [%- ELSE %]
   <table width="100%">
    <tr class="listheading">
-    <th>[% LxERP.t8('Client name') %]</th>
     <th>[% LxERP.t8('Database ID') %]</th>
+    <th>[% LxERP.t8('Client name') %]</th>
     <th>[% LxERP.t8('Database name') %]</th>
     <th>[% LxERP.t8('Database Host') %]</th>
     <th>[% LxERP.t8('Database User') %]</th>
     <th>[% LxERP.t8('Default client') %]</th>
+    <th>[% LxERP.t8('Task server') %]</th>
    </tr>
 
 [%- FOREACH client = SELF.all_clients %]
    <tr class="listrow">
+    <td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.id)) %]</td>
     <td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.name)) %]</td>
-    <td>[% HTML.escape(client.id) %]</td>
     <td>[% HTML.escape(client.dbname) %]</td>
     <td>[% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %]</td>
     <td>[% HTML.escape(client.dbuser) %]</td>
     <td>[% IF client.is_default %][% LxERP.t8("Yes") %][%- ELSE %][% LxERP.t8("No") %][%- END %]</td>
+    <td>
+     [% IF client.task_server_user %]
+      [% LxERP.t8("execution as user '#1'", client.task_server_user.login) %]
+     [% ELSE %]
+      [% LxERP.t8("no execution for this client") %]
+     [% END %]
+    </td>
    </tr>
 [%- END %]
   </table>