{% extends "admin/base_panel.html" %} {% block panel_title %} {{ title }} ({{count}}) {% endblock panel_title %} {% block panel_content %} {% endblock panel_content %} {% block panel_buttons %} {% if controls %} {% if request.has_permission('view', context) %} List {% endif %} {% if request.has_permission('add', context) %} Add {% endif %} {% endif %} {% endblock %}