Revision 9636227e
Von Moritz Bunkus vor mehr als 11 Jahren hinzugefügt
templates/webpages/admin/show.html | ||
---|---|---|
7 | 7 |
<div> |
8 | 8 |
[% LxERP.t8("Actions") %]: |
9 | 9 |
<span class="link_separator"></span> |
10 |
[% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %] |
|
11 |
<span class="link_separator">|</span> |
|
12 | 10 |
[% L.link(SELF.url_for(action="new_user"), LxERP.t8("Add User")) %] |
13 | 11 |
<span class="link_separator">|</span> |
12 |
[% L.link(SELF.url_for(action="new_client"), LxERP.t8("Add Client")) %] |
|
13 |
<span class="link_separator">|</span> |
|
14 | 14 |
[% L.link(SELF.url_for(action="edit_groups"), LxERP.t8("Edit groups")) %] |
15 | 15 |
<span class="link_separator">|</span> |
16 | 16 |
[% L.link(SELF.url_for(action="pg_database_administration", controller="admin.pl"), LxERP.t8("Pg Database Administration")) %] |
... | ... | |
45 | 45 |
|
46 | 46 |
[%- ELSE %] |
47 | 47 |
<table width="100%"> |
48 |
<tr> |
|
49 |
<th class="listtop">[% LxERP.t8('Login Name') %]</th>
|
|
50 |
<th class="listtop">[% LxERP.t8('Name') %]</th>
|
|
51 |
<th class="listtop">[% LxERP.t8('Language') %]</th>
|
|
48 |
<tr class="listheading">
|
|
49 |
<th>[% LxERP.t8('Login Name') %]</th> |
|
50 |
<th>[% LxERP.t8('Name') %]</th> |
|
51 |
<th>[% LxERP.t8('Language') %]</th> |
|
52 | 52 |
</tr> |
53 | 53 |
|
54 | 54 |
[% FOREACH user = USERS %] |
... | ... | |
72 | 72 |
|
73 | 73 |
[%- ELSE %] |
74 | 74 |
<table width="100%"> |
75 |
<tr> |
|
76 |
<th class="listtop">[% LxERP.t8('Client name') %]</th> |
|
77 |
<th class="listtop">[% LxERP.t8('Database ID') %]</th> |
|
78 |
<th class="listtop">[% LxERP.t8('Database name') %]</th> |
|
79 |
<th class="listtop">[% LxERP.t8('Database Host') %]</th> |
|
80 |
<th class="listtop">[% LxERP.t8('Database User') %]</th> |
|
75 |
<tr class="listheading"> |
|
76 |
<th>[% LxERP.t8('Client name') %]</th> |
|
77 |
<th>[% LxERP.t8('Database ID') %]</th> |
|
78 |
<th>[% LxERP.t8('Database name') %]</th> |
|
79 |
<th>[% LxERP.t8('Database Host') %]</th> |
|
80 |
<th>[% LxERP.t8('Database User') %]</th> |
|
81 |
<th>[% LxERP.t8('Default client') %]</th> |
|
81 | 82 |
</tr> |
82 | 83 |
|
83 | 84 |
[%- FOREACH client = CLIENTS %] |
84 | 85 |
<tr class="listrow"> |
85 |
<td>[% L.link(SELF.url_for(action="edit_client", client_id=client.id), HTML.escape(client.name)) %]</td>
|
|
86 |
<td>[% L.link(SELF.url_for(action="edit_client", id=client.id), HTML.escape(client.name)) %]</td> |
|
86 | 87 |
<td>[% HTML.escape(client.id) %]</td> |
87 | 88 |
<td>[% HTML.escape(client.dbname) %]</td> |
88 | 89 |
<td>[% HTML.escape(client.dbhost) %][% IF client.dbport %]:[%- HTML.escape(client.dbport) %][%- END %]</td> |
89 | 90 |
<td>[% HTML.escape(client.dbuser) %]</td> |
91 |
<td>[% IF client.is_default %][% LxERP.t8("Yes") %][%- ELSE %][% LxERP.t8("No") %][%- END %]</td> |
|
90 | 92 |
</tr> |
91 | 93 |
[%- END %] |
92 | 94 |
</table> |
Auch abrufbar als: Unified diff
Admin: Anlegen, Bearbeiten und Löschen von Mandanten implementiert