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 2b6c7ac0..94c1d433 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 -%>
<%:Contact%>
<%| nodeinfo.owner.contact %>
<%- end %> + <% if nodeinfo.location then -%> +
<%:Location%>
+
+ <%| nodeinfo.location.latitude %>, <%| nodeinfo.location.longitude %> +
+ <%- end %>
<%:Model%>
<%| nodeinfo.hardware.model %>
<%:Primary MAC address%>
<%| nodeinfo.network.mac %>
<%:IP address%>
<%= pcdata(table.concat(sorted(nodeinfo.network.addresses), '\n')):gsub('\n', '
') %>
diff --git a/package/gluon-status-page/i18n/de.po b/package/gluon-status-page/i18n/de.po index 9454dad2..2e2d54b9 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 56b02dae..1b4cd75b 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 ""