{% load i18n %} {% load promgen %}
{% include 'promgen/alert_row.html' %}
{% include 'promgen/silence_row.html' %}
{% if service.description %}
{{service.description|linebreaksbr|urlize}}
{% endif %}
{% csrf_token %}
{% trans "Edit Service" %} {% trans "Silence" %}
{% csrf_token %}
{% if service.rule_set.count or request.site.rule_set.count %}
{% include "promgen/rule_header.html" %} {% include "promgen/rule_block.html" with rule_list=service.rule_set.all toggle=1 delete=1 %} {% include "promgen/rule_block.html" with rule_list=request.site.rule_set.all collapse="service-site-rules-" overwrite_type='service' overwrite_id=service.id %}
{% endif %} {% if service.notifiers.count %}
{% include "promgen/notifier_block.html" with object=service show_edit=1 %}
{% endif %} {% include "promgen/service_block_projects.html" with project_list=project_list|default:service.project_set.all service=service only %}