{% include "tracker/summary/block.html" with extra_classes="hidden" %} {% for scene, scene_data in scenes.items %} {% if scene == current_scene.title %} {% include "tracker/summary/block.html" with extra_classes="hidden" %} {% elif scene != "Entrances" and scene != "Checks" %} {% if scene_data.Totals.Checks.Undiscovered > 0 and scene_data.Totals.Entrances.Undiscovered > 0 %} {% if scene_data.Totals.Entrances.Undiscovered == scene_data.Totals.Entrances.Total %} {% include "tracker/summary/block.html" with extra_classes="bg-red-900" %} {% else %} {% include "tracker/summary/block.html" with extra_classes="bg-green-900" %} {% endif %} {% elif scene_data.Totals.Checks.Undiscovered > 0 %} {% include "tracker/summary/block.html" with extra_classes="bg-yellow-900" %} {% elif scene_data.Totals.Entrances.Undiscovered > 0 %} {% include "tracker/summary/block.html" with extra_classes="bg-blue-900" %} {% endif %} {% endif %} {% endfor %}