gluon-status-page: add contact information again

The field was accidentally removed during the status-page rewrite.

Fixes #1401
This commit is contained in:
Matthias Schiffer 2018-05-22 22:48:27 +02:00
parent 7b1857e743
commit f51eac7582
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C
3 changed files with 9 additions and 0 deletions

View File

@ -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>

View File

@ -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"

View File

@ -22,6 +22,9 @@ msgstr ""
msgid "Clients" msgid "Clients"
msgstr "" msgstr ""
msgid "Contact"
msgstr ""
msgid "Distance" msgid "Distance"
msgstr "" msgstr ""