{% load utilities %} {% load shelf_tags %} {% load i18n %} {% with next_shelf_identifier=active_shelf.shelf.identifier|next_shelf %} {% for shelf in shelves %} {% comparison_bool shelf.identifier active_shelf.shelf.identifier as is_current %} {% endfor %} {% if readthrough and active_shelf.shelf.identifier != 'read' %} {% endif %} {% if active_shelf.shelf %} {% endif %} {% endwith %}