[%- USE T8 %]
[%- USE HTML %][%- USE LxERP %]
- [%- DEFAULT myconfig_dbhost = 'localhost' %]
<noscript>
[% INCLUDE 'generic/information.html'
title_information = LxERP.t8('Your browser does not currently support Javascript.'),
%]
</noscript>
<center>
- <a class="nomobile" href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo.png" border="0" title="[% 'kivitendo Homepage' | $T8 %]"></a>
+ <a class="nomobile" href="http://www.kivitendo.de" target="_top"><img src="image/kivitendo[% xmas %].png" class='kivitendo-logo' border="0" alt='[% 'kivitendo' | $T8 %]' title="[% 'kivitendo Homepage' | $T8 %]"></a>
<h3 class="login">[% 'kivitendo' | $T8 %] [% version %]</h3>
+[%- IF git_head %]
+ <p>[%- LxERP.t8("Git revision: #1, #2 #3", git_head.hash.substr(0, 7), git_head.author_date.to_kivitendo, git_head.author_date.strftime('%H:%M:%S %Z')) %]</p>
+[%- END %]
+
<p>[% 'companylogo_subtitle' | $T8 %]</p>
<p>
<b>
- [% HTML.escape(myconfig_company) %]
+ [% HTML.escape(defaults.company) %]
<br>
- [% HTML.escape(myconfig_address).replace('\\\\n', '<br>').replace('\n', '<br>') %]
+ [% HTML.escape(defaults.address).replace('\\\\n', '<br>').replace('\n', '<br>') %]
</b>
<br>
<table border="0">
<tr>
<th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'User' | $T8 %]</a></th>
- <td>[% HTML.escape(myconfig_name) %]</td>
- </tr>
- <tr>
- <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'Language' | $T8 %]</a></th>
- <td>[% HTML.escape(myconfig_countrycode) %]</td>
+ <td>[% HTML.escape(MYCONFIG.name) %]</td>
</tr>
<tr>
- <th align="left"><a href="admin.pl" title="[% 'Administration' | $T8 %]">[% 'Templates' | $T8 %]</a></th>
- <td>[% HTML.escape(myconfig_templates) %]</td>
+ <th align="left">[% IF AUTH.assert('admin', 'may_fail') %]<a href="controller.pl?action=ClientConfig/edit" title="[% 'Client Configuration' | $T8 %]">[% END %][% 'Client' | $T8 %][% IF AUTH.assert('admin', 'may_fail') %]</a>[% END %]</th>
+ <td>[% HTML.escape(client.name) %]</td>
</tr>
<tr>
- <th align="left"><a href="admin.pl" title="[% 'Administration' | $T8 %]">[% 'Dataset' | $T8 %]</a></th>
- <td>[% HTML.escape(myconfig_dbname) %]</td>
- </tr>
- <tr>
- <th align="left">[% 'Database Host' | $T8 %]</th>
- <td>[% HTML.escape(myconfig_dbhost) %]</td>
+ <th align="left"><a href="am.pl?action=config" title="[% 'Preferences' | $T8 %]">[% 'Language' | $T8 %]</a></th>
+ <td>[% HTML.escape(MYCONFIG.countrycode) %]</td>
</tr>
<tr>
<th align="left">[% 'Webserver interface' | $T8 %]</th>
</center>
[%- todo_list %]
-