diff --git a/hbd/server/templates/settings.html b/hbd/server/templates/settings.html
index 384bd9c..390da3e 100644
--- a/hbd/server/templates/settings.html
+++ b/hbd/server/templates/settings.html
@@ -572,11 +572,12 @@
+ {% if not current_user or current_user.admin %}
-
+
+
+ {% endif %}
@@ -709,12 +712,18 @@
{{ h.name | e }} |
|
|
+ {% if h.is_owner %}
|
{{ mpick(all_usernames, h.managers, 'host-managers') }} |
{{ mpick(all_usernames, h.monitors, 'host-monitors') }} |
+ {% else %}
+ {{ h.owner | e }} |
+ {% for m in h.managers %}{{ m | e }}{% else %}(none){% endfor %} |
+ {% for m in h.monitors %}{{ m | e }}{% else %}(none){% endfor %} |
+ {% endif %}
{{ mpick(all_threshold_configs, h.threshold_configs, 'host-tc') }} |
{{ mpick(all_channel_names, h.notification_channels, 'host-channels') }} |
- |
+ {% if h.is_owner %}{% endif %} |
{% endfor %}
@@ -748,12 +757,13 @@
{{ ch.name | e }}
{{ ch.type_label | e }}
{% if ch.min_level and ch.min_level != 'WARNING' %}{{ ch.min_level | e }}+{% endif %}
- {% if ch.private %}private{% endif %}
{% if ch.owner %}{{ ch.owner | e }}{% endif %}
+ {% if ch.editable %}
+ {% endif %}
{% for f in ch.fields %}
@@ -790,13 +800,20 @@
{% endfor %}
{% for tc in section.threshold_configs %}
-
+
+