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 2b6c7ac04eb8c90a2a8eb71586952418468c2c62..94c1d433e426d96002191fdddb9fd5a20cae39c4 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 @@ -103,6 +103,12 @@ <% if nodeinfo.owner and nodeinfo.owner.contact then -%> <dt><%:Contact%></dt><dd><%| nodeinfo.owner.contact %></dd> <%- end %> + <% if nodeinfo.location then -%> + <dt><%:Location%></dt> + <dd><a href="geo:<%| nodeinfo.location.latitude %>,<%| nodeinfo.location.longitude %>"> + <%| nodeinfo.location.latitude %>, <%| nodeinfo.location.longitude %> + </a></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 9454dad22c0058e6e0ee43d48a242980758aebea..2e2d54b9b2bce12007f65a323494797d83fba625 100644 --- a/package/gluon-status-page/i18n/de.po +++ b/package/gluon-status-page/i18n/de.po @@ -34,6 +34,9 @@ msgstr "Clients" msgid "Contact" msgstr "Kontakt" +msgid "Location" +msgstr "Position" + 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 56b02dae0d7ccbdc58243dd58fe56249e1f41396..1b4cd75b10323828a13478d850be952afd6125f4 100644 --- a/package/gluon-status-page/i18n/gluon-status-page.pot +++ b/package/gluon-status-page/i18n/gluon-status-page.pot @@ -25,6 +25,9 @@ msgstr "" msgid "Contact" msgstr "" +msgid "Location" +msgstr "" + msgid "Distance" msgstr ""