{% load common %} {% load data_view_config %} Results
{# Have one empty field in the upper left corner #} {% for ct in col_tags %} {% endfor %} {% for rt in row_tags %} {% for ct in col_tags %} {% with row_set=tag_index|get:rt %} {% with tpids=tag_index|get:ct|intersect:row_set %} {% pids_to_projects tpids project_index sort as tprojects %} {% cycle 'even' 'odd' as rowtype silent %} {% endwith %} {% endwith %} {% endfor %} {% endfor %}
{{ ct }}
{{ rt }} {% for p in tprojects %} {% with stacks=pid_to_sids|get:p.id %} {% if stacks %} {{ p.title }}
{% else %} {{ p.title }} {% endif %} {% endwith %} {% empty %} - {% endfor %}