{% extends 'admin/model/details.html' %} {% import 'test_run.html' as test_run_lib with context %} {% block tail %} {{ super() }} {{ test_run_lib.add_button_style() }} {% if model.status.processed %} {{ render_edit_button(model) }} {% if admin_view.redirect_allowed(model) %} {{ render_go_button(model) }} {% endif %} {% else %} {% endif %} {% endblock %} {% macro render_go_button(model) %}
{% endmacro %} {% macro render_edit_button(model) %} {% endmacro %}