Merge branch 'b-3.6.1' of ../kivitendo-erp_20220811
[kivitendo-erp.git] / templates / webpages / login / company_logo.html
index a306456..bfb4016 100644 (file)
@@ -1,54 +1,53 @@
 [%- USE T8 %]
-[% USE HTML %][% USE LxERP %]<body>
- [%- DEFAULT myconfig_dbhost = 'localhost' %]
-
+[%- USE HTML %][%- USE LxERP %]
+   <noscript>
+   [% INCLUDE 'generic/information.html'
+     title_information = LxERP.t8('Your browser does not currently support Javascript.'),
+     label_information = LxERP.t8('A lot of the usability of kivitendo has been enhanced with javascript. Although it is currently possible to use every aspect of kivitendo without javascript, we strongly recommend it. In a future version this may change and javascript may be necessary to access advanced features.'),
+   %]
+   </noscript>
  <center>
-  <a class="nomobile" href="http://www.lx-office.org" target="_top"><img src="image/lx-office-erp.png" border="0"></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>
 
-  <h2 class="login">[% 'Version' | $T8 %] [% version %]</h2>
+  <h3 class="login">[% 'kivitendo' | $T8 %] [% version %]</h3>
 
-  <p>[% 'Licensed to' | $T8 %]</p>
+[%- 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>
    <br>
 
    <table border="0">
     <tr>
-     <th align="left">[% 'User' | $T8 %]</th>
-     <td>[% HTML.escape(myconfig_name) %]</td>
-    </tr>
-    <tr>
-     <th align="left">[% 'Dataset' | $T8 %]</th>
-     <td>[% HTML.escape(myconfig_dbname) %]</td>
+     <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">[% 'Database Host' | $T8 %]</th>
-     <td>[% HTML.escape(myconfig_dbhost) %]</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="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>
+     <td>[% HTML.escape(interface) %]</td>
     </tr>
     <tr class="nomobile">
-     <th colspan="2" align="center"><a href="http://lx-office.org" target="blank">http://lx-office.org</a></th>
+     <th align="left">[% 'kivitendo Homepage' | $T8 %]:</th>
+     <td><a href="http://kivitendo.de" target="_blank" title="[% 'kivitendo Homepage' | $T8 %]">http://kivitendo.de</a></td>
     </tr>
    </table>
-
-   <noscript>
-   [% INCLUDE 'generic/information.html'
-     title_information = LxERP.t8('Your browser does not currently support Javascript.'),
-     label_information = LxERP.t8('A lot of the usability of Lx-Office has been enhanced with javascript. Although it is currently possible to use every aspect of Lx-Office without javascript, we strongly recommend it. In a future version this may change and javascript may be necessary to access advanced features.'),
-   %]
-   </noscript>
  </center>
 
  [%- todo_list %]
-
-</body>
-</html>