{% extends '../layouts/index.html' %} {% block content %}

{{ component.name }}

{% if perms.incidents.change_components %} Edit {% endif %}
{% component "card" card_title="Issue category information" id="component-information" %} {% fill "card_content" %}
{% if component.description %}
Description
{{ component.description|urlize|linebreaksbr }}
{% endif %}
Group
{{ component.group.name }}
{% endfill %} {% endcomponent %} {% component "card" card_title="Responders groups" card_subtitle="People from these groups will be added to incidents created with this component" id="incident-responders-groups" %} {% fill "card_content" %}
    {% for usergroup in component.usergroups.all %}
  • @{{ usergroup.handle }}

    {{ usergroup.members.count }} Members

  • {% endfor %} {% for conversation in component.conversations.all %}
  • #{{ conversation.name }}

    {{ conversation.members.count }} Members

  • {% endfor %}
{% endfill %} {% endcomponent %}
{% component "card" card_title="Other components in the same group" id="incident-timeline" %} {% fill "card_title" %}

Other components in "{{ component.group.name }}"

{% endfill %} {% fill "card_content" %}
    {% for other_component in component.group.component_set.all %} {% if other_component.id != component.id %}
  • {{ other_component.name }}
  • {% endif %} {% endfor %}
{% endfill %} {% endcomponent %}
{% endblock content %}