diff --git a/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html b/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html index 17e2a8dea57fbcafe5ac57a8e1a8357b27b31d71..bf55eab604e893598520b4549c35b6bd4377e605 100644 --- a/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html +++ b/package/gluon-status-page/files/lib/gluon/status-page/view/status-page.html @@ -100,6 +100,9 @@ <h2><%:Overview%></h2> <dl> <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><%: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> diff --git a/package/gluon-status-page/i18n/de.po b/package/gluon-status-page/i18n/de.po index b6ff1a78f960be4c902a42584f905bbe5bbd4f06..9454dad22c0058e6e0ee43d48a242980758aebea 100644 --- a/package/gluon-status-page/i18n/de.po +++ b/package/gluon-status-page/i18n/de.po @@ -31,6 +31,9 @@ msgstr "Automatische Updates" msgid "Clients" msgstr "Clients" +msgid "Contact" +msgstr "Kontakt" + msgid "Distance" msgstr "Entfernung" diff --git a/package/gluon-status-page/i18n/gluon-status-page.pot b/package/gluon-status-page/i18n/gluon-status-page.pot index b4c3882e6136cc302291ac1f5277b1a74b0fa4f1..56b02dae0d7ccbdc58243dd58fe56249e1f41396 100644 --- a/package/gluon-status-page/i18n/gluon-status-page.pot +++ b/package/gluon-status-page/i18n/gluon-status-page.pot @@ -22,6 +22,9 @@ msgstr "" msgid "Clients" msgstr "" +msgid "Contact" +msgstr "" + msgid "Distance" msgstr ""