gluon-status-page: show primary_domain (v2)

This commit is contained in:
lemoer 2020-05-16 19:38:13 +02:00
parent 75e2c5ff0f
commit 2c4edfbe61

View File

@ -118,7 +118,13 @@
<%- end %> <%- end %>
<dt><%:Site%></dt><dd><%| site.site_name() %></dd> <dt><%:Site%></dt><dd><%| site.site_name() %></dd>
<% if nodeinfo.system.domain_code then -%> <% if nodeinfo.system.domain_code then -%>
<dt><%:Domain%></dt><dd><%| site.domain_names[nodeinfo.system.domain_code]() %></dd> <dt><%:Domain%></dt>
<dd>
<%| site.domain_names[nodeinfo.system.domain_code]() %>
<% if nodeinfo.system.domain_code ~= nodeinfo.system.primary_domain_code then %>
(<%| site.domain_names[nodeinfo.system.primary_domain_code]() %>)
<%- end %>
</dd>
<%- end %> <%- 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) %><%|