{% load i18n %}
{% if service.check_notifiers == False %} {% endif %} {% if service.description %}
{{service.description|linebreaksbr|urlize}}
{% endif %}
{% if service.rule_set.count or request.site.rule_set.count %}
Rules
{% include "promgen/rule_block.html" with rule_list=service.rule_set.all show_edit=1 %} {% if request.site.rule_set.count %} {% include "promgen/rule_block.html" with rule_list=request.site.rule_set.all content_type='service' show_overwrite=service.id collapse="show-global-rules" %} {% endif %}
{% endif %} {% if service.notifiers.count %}
Service Notifiers
{% include "promgen/notifier_block.html" with object=service show_edit=1 %}
{% endif %} {% if service.project_set.count %}
Projects
{% for project in service.project_set.all %} {% endfor %}
Project Farm Exporters Notifiers Actions
{% if service.notifiers.count == 0 and project.notifiers.count == 0 %} {% endif %} {{ project.name }} {% if project.farm %}{{ project.farm }}{% endif %} {% for exporter in project.exporter_set.all %} {% endfor %}
{{ exporter.job }} {{ exporter.port }} {{ exporter.path }}
{% for notifier in project.notifiers.all %} {% endfor %}
{{ notifier.sender }} {{ notifier.show_value }}
{% trans "Silence" %}
{% endif %}