Add option to hide owner info from statuspage

Owner info should not be able to crawl from public ipv6 addresses
This commit is contained in:
Florian Maurer 2022-08-17 21:19:53 +02:00 committed by GitHub
parent 0c17f5fb8b
commit 8a5ac04a32
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,7 +143,7 @@
<h2><%:Overview%></h2>
<dl>
<dt><%:Node name%></dt><dd><%| nodeinfo.hostname %></dd>
<% if nodeinfo.owner and nodeinfo.owner.contact then -%>
<% if nodeinfo.owner and nodeinfo.owner.contact and not nodeinfo.owner.hide_statuspage then -%>
<dt><%:Contact%></dt><dd><%| nodeinfo.owner.contact %></dd>
<%- end %>
<% if nodeinfo.location then -%>