{% extends "indra/template.html" %}
{% block scripts %}
{% endblock %}
{% macro badges(src_counts, available_sources, show_only_available=false, header=false) -%}
{% if src_counts %}
{% for source_type, color_dict in source_colors %}
{% if header and loop.index0 == 0 %}
{{ source_type }}
{% endif %}
{% if loop.index0 > 0 %}
|
{% if header %}
|
{% endif %}
{% endif %}
{% for src in color_dict['sources'].keys() %}
{% if src_counts.get(src) and ((not show_only_available) or (src in available_sources)) %}
{{ src_counts.get(src) }}
{% endif %}
{% endfor %}
{% if header and loop.index0 > 0 %}
{{ source_type }}
{% endif %}
{% endfor %}
{% endif %}
{%- endmacro %}
{% macro belief_badge(belief_score) -%}
{{ belief_score }}
{%- endmacro %}
{% block header_desc %}
This page allows you to curate the loaded statements. For more information
please see the
manual.
{% endblock %}
{% block body %}