gluon-status-page: show primary_domain

This commit is contained in:
lemoer 2020-05-16 18:25:07 +02:00 committed by Matthias Schiffer
parent b9c1a026b1
commit 14481851f6
No known key found for this signature in database
GPG Key ID: 16EF3F64CB201D9C

View File

@ -118,7 +118,13 @@
<%- 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>
<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 %>
<% if nodeinfo.software.autoupdater then -%>
<dt><%:Automatic updates%></dt><dd><%| enabled(nodeinfo.software.autoupdater.enabled) %><%|