{% extends 'base.html' %} {% load bootstrap3 %} {% load staticfiles %} {% load defcon %} {% block title %}{{ component.name }} - DefCon {{ component.defcon }}{% endblock %} {% block content %}

Defcon

Current state of {{ component.name }} is:
{% for dc, data in component.statuses_by_plugins %}

{{ dc|defcon_to_word }}

More
    {% for plugin, statuses in data.items %}

    {{ plugin.plugin.name }} ({{ statuses|length }})

      {% for status in statuses %}
    • {{ status.title }} - {% if status.link %}#{% endif %}

      {{ status.description|truncatewords:5 }}

    • {% endfor %}
    {% endfor %}
{% endfor %}
{% if component.description %}

{{ component.description|safe }}

{% endif %}

{% if component.link %}
Link: {{ component.link }}
Contact: {{ component.contact }} {% endif %}

Badge: {{ base_url }}/badge/{{component.id}}.svg

API: {{ base_url }}/api/simple/{{component.id}}/

{% endblock %}