Skip to content
Snippets Groups Projects
Commit bcf4d076 authored by Martin Weinelt's avatar Martin Weinelt Committed by Andreas Ziegler
Browse files

gluon-status-page: display position and link it with geo uri scheme (#1587)


Fixes: #659
Signed-off-by: default avatarMartin Weinelt <martin@darmstadt.freifunk.net>
parent 1d2e36da
No related branches found
No related tags found
No related merge requests found
......@@ -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>
......
......@@ -34,6 +34,9 @@ msgstr "Clients"
msgid "Contact"
msgstr "Kontakt"
msgid "Location"
msgstr "Position"
msgid "Distance"
msgstr "Entfernung"
......
......@@ -25,6 +25,9 @@ msgstr ""
msgid "Contact"
msgstr ""
msgid "Location"
msgstr ""
msgid "Distance"
msgstr ""
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment