{% extends "base.html" %} {% from "_ui.html" import icon, crumbs, lvl, logsource %} {% block title %}{{ c.name }} - Collections{% endblock %} {% block section %}export{% endblock %} {% block content %} {{ crumbs([('Export', '/export'), ('Collections', '/collections'), (c.name, '')]) }}

{{ c.name }} {{ total|num }} rules

{% if c.display_description %}

{{ c.display_description }}

{% endif %}
{{ icon('search') }}Open in search {% for fmt in formats %}{{ icon('export') }}{{ 'YAML (.zip)' if fmt == 'zip' else fmt|upper }}{% endfor %}
{% if params.error %}{% endif %} {% if counts.updated %}
{{ icon('changes') }}

{{ counts.updated }} rules changed upstream. Exports already use the current rules.

{% endif %} {% if counts.missing %}
{{ icon('about') }}

{{ counts.missing }} rules are no longer in any source. They stay listed in case they come back.

{% endif %}
{% if rows %}
{% for r in rows %}{% set g = r.group %} {% endfor %}
RuleLevelLog source
{% if g %}{{ g.title or '(untitled)' }}{% else %}{{ r.item.title or '(untitled)' }}{% endif %} {% if r.state == 'updated' %} updated upstream{% elif r.state == 'missing' %} missing{% endif %} {% if r.item.note %}{{ r.item.note }}{% endif %} {% if g %}{{ lvl(g.level) }}{% endif %}{% if g %}{{ logsource(g) }}{% endif %}
{% if pages > 1 %}{% endif %} {% else %}

This collection is empty

Add rules from the terminal: sigharvest collection --help.

{% endif %}
{% endblock %}