Letter: "alle" E-Mail-Adressen per Anhaken als Empfänger
[kivitendo-erp.git] / templates / webpages / admin / edit_client.html
index 8dd3298..01363b8 100644 (file)
@@ -5,8 +5,6 @@
 
 <h1>[% HTML.escape(title) %]</h1>
 
-<p>[% L.link(SELF.url_for(action="show"), LxERP.t8("Back")) %]</p>
-
 <form method="post" action="controller.pl" id="form">
  [% L.hidden_tag("client.id", SELF.client.id) %]
  [% L.hidden_tag("action", "") %]
    <th align="right">[% LxERP.t8('Database user and password') %]</th>
    <td>
     [% L.input_tag("client.dbuser",   SELF.client.dbuser, class="contains_dbsettings") %]
-    [% L.input_tag("client.dbpasswd", SELF.client.dbpasswd, class="contains_dbsettings") %]
+    [% L.input_tag("client.dbpasswd", SELF.client.dbpasswd, class="contains_dbsettings", type="password") %]
+   </td>
+  </tr>
+
+  <tr>
+   <th align="right">[% LxERP.t8("Run task server for this client with the following user") %]</th>
+   <td>
+    [% L.select_tag("client.task_server_user_id", SELF.all_users, with_empty=1, empty_title=LxERP.t8("Do not run the task server for this client"), title_key="login", default=SELF.client.task_server_user_id) %]
    </td>
   </tr>
  </table>
   }
 
   function test_database_connectivity() {
-    open_jqm_window({
-      url:  'controller.pl?action=Admin/test_database_connectivity',
-      data: $(".contains_dbsettings]").serialize(),
-      type: 'POST',
-      id:   'test_db_connection_window'
+    kivi.popup_dialog({
+      url:    'controller.pl?action=Admin/test_database_connectivity',
+      data:   $(".contains_dbsettings").serialize(),
+      type:   'POST',
+      id:     'test_db_connection_window',
+      dialog: { title: kivi.t8('Database Connection Test') }
     });
     return true;
   }