Commit 21397ce6 authored by lemoer's avatar lemoer Committed by Martin Weinelt
Browse files

gluon-status-page: add domain and site (#1820)

parent 6d640575
......@@ -116,6 +116,10 @@
<% if nodeinfo.software.fastd then -%>
<dt><%:Mesh VPN%></dt><dd><%| enabled(nodeinfo.software.fastd.enabled) %></dd>
<%- end %>
<dt><%:Site%></dt><dd><%| site.site_name() %></dd>
<% if nodeinfo.system.domain_code then -%>
<dt><%:Domain%></dt><dd><%| site.domain_names[nodeinfo.system.domain_code]() %></dd>
<%- end %>
<% if nodeinfo.software.autoupdater then -%>
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|
nodeinfo.software.autoupdater.enabled and
......
......@@ -117,3 +117,9 @@ msgstr "aktiviert"
msgid "not connected"
msgstr "nicht verbunden"
msgid "Domain"
msgstr "Domäne"
msgid "Site"
msgstr "Site"
......@@ -108,3 +108,9 @@ msgstr ""
msgid "not connected"
msgstr ""
msgid "Domain"
msgstr ""
msgid "Site"
msgstr ""
......@@ -82,5 +82,5 @@ entry({}, call(function(http, renderer)
end
renderer.render('status-page', { nodeinfo = nodeinfo }, 'gluon-status-page')
renderer.render('status-page', { nodeinfo = nodeinfo, site = site }, 'gluon-status-page')
end))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment