gluon-status-page: add contact information again
The field was accidentally removed during the status-page rewrite. Fixes #1401
This commit is contained in:
parent
7b1857e743
commit
f51eac7582
@ -100,6 +100,9 @@
|
|||||||
<h2><%:Overview%></h2>
|
<h2><%:Overview%></h2>
|
||||||
<dl>
|
<dl>
|
||||||
<dt><%:Node name%></dt><dd><%| nodeinfo.hostname %></dd>
|
<dt><%:Node name%></dt><dd><%| nodeinfo.hostname %></dd>
|
||||||
|
<% if nodeinfo.owner and nodeinfo.owner.contact then -%>
|
||||||
|
<dt><%:Contact%></dt><dd><%| nodeinfo.owner.contact %></dd>
|
||||||
|
<%- end %>
|
||||||
<dt><%:Model%></dt><dd><%| nodeinfo.hardware.model %></dd>
|
<dt><%:Model%></dt><dd><%| nodeinfo.hardware.model %></dd>
|
||||||
<dt><%:Primary MAC address%></dt><dd><%| nodeinfo.network.mac %></dd>
|
<dt><%:Primary MAC address%></dt><dd><%| nodeinfo.network.mac %></dd>
|
||||||
<dt><%:IP address%></dt><dd><%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '<br />') %></dd>
|
<dt><%:IP address%></dt><dd><%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '<br />') %></dd>
|
||||||
|
@ -31,6 +31,9 @@ msgstr "Automatische Updates"
|
|||||||
msgid "Clients"
|
msgid "Clients"
|
||||||
msgstr "Clients"
|
msgstr "Clients"
|
||||||
|
|
||||||
|
msgid "Contact"
|
||||||
|
msgstr "Kontakt"
|
||||||
|
|
||||||
msgid "Distance"
|
msgid "Distance"
|
||||||
msgstr "Entfernung"
|
msgstr "Entfernung"
|
||||||
|
|
||||||
|
@ -22,6 +22,9 @@ msgstr ""
|
|||||||
msgid "Clients"
|
msgid "Clients"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Contact"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
msgid "Distance"
|
msgid "Distance"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user