gluon-status-page: add domain and site (#1820)
This commit is contained in:
parent
6d64057536
commit
21397ce678
@ -116,6 +116,10 @@
|
|||||||
<% if nodeinfo.software.fastd then -%>
|
<% if nodeinfo.software.fastd then -%>
|
||||||
<dt><%:Mesh VPN%></dt><dd><%| enabled(nodeinfo.software.fastd.enabled) %></dd>
|
<dt><%:Mesh VPN%></dt><dd><%| enabled(nodeinfo.software.fastd.enabled) %></dd>
|
||||||
<%- end %>
|
<%- 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 -%>
|
<% if nodeinfo.software.autoupdater then -%>
|
||||||
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|
|
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|
|
||||||
nodeinfo.software.autoupdater.enabled and
|
nodeinfo.software.autoupdater.enabled and
|
||||||
|
@ -117,3 +117,9 @@ msgstr "aktiviert"
|
|||||||
|
|
||||||
msgid "not connected"
|
msgid "not connected"
|
||||||
msgstr "nicht verbunden"
|
msgstr "nicht verbunden"
|
||||||
|
|
||||||
|
msgid "Domain"
|
||||||
|
msgstr "Domäne"
|
||||||
|
|
||||||
|
msgid "Site"
|
||||||
|
msgstr "Site"
|
||||||
|
@ -108,3 +108,9 @@ msgstr ""
|
|||||||
|
|
||||||
msgid "not connected"
|
msgid "not connected"
|
||||||
msgstr ""
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Domain"
|
||||||
|
msgstr ""
|
||||||
|
|
||||||
|
msgid "Site"
|
||||||
|
msgstr ""
|
||||||
|
@ -82,5 +82,5 @@ entry({}, call(function(http, renderer)
|
|||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
renderer.render('status-page', { nodeinfo = nodeinfo }, 'gluon-status-page')
|
renderer.render('status-page', { nodeinfo = nodeinfo, site = site }, 'gluon-status-page')
|
||||||
end))
|
end))
|
||||||
|
Loading…
Reference in New Issue
Block a user