From c7b3c2137c2eb724277fcb386888f0705bff5afb Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Mon, 17 Jun 2013 10:24:37 +0200 Subject: [PATCH] Mandanten-Datenbank-ID anzeigen --- templates/webpages/admin/edit_client.html | 7 +++++++ templates/webpages/admin/show.html | 4 ++-- 2 files changed, 9 insertions(+), 2 deletions(-) diff --git a/templates/webpages/admin/edit_client.html b/templates/webpages/admin/edit_client.html index 8b0712aed..5f853e116 100644 --- a/templates/webpages/admin/edit_client.html +++ b/templates/webpages/admin/edit_client.html @@ -14,6 +14,13 @@

[%- LxERP.t8("Settings") %]

+[%- IF SELF.client.id %] + + + + +[%- END %] + diff --git a/templates/webpages/admin/show.html b/templates/webpages/admin/show.html index e046518de..b707237f7 100644 --- a/templates/webpages/admin/show.html +++ b/templates/webpages/admin/show.html @@ -74,8 +74,8 @@ [%- ELSE %]
[% LxERP.t8('Database ID') %][%- HTML.escape(SELF.client.id) %]
[% LxERP.t8('Client name') %] [% L.input_tag("client.name", SELF.client.name) %]
- + @@ -84,8 +84,8 @@ [%- FOREACH client = SELF.all_clients %] + - -- 2.20.1
[% LxERP.t8('Client name') %] [% LxERP.t8('Database ID') %][% LxERP.t8('Client name') %] [% LxERP.t8('Database name') %] [% LxERP.t8('Database Host') %] [% LxERP.t8('Database User') %]
[% 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.id) %] [% HTML.escape(client.dbname) %] [% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %] [% HTML.escape(client.dbuser) %]