{% extends base_template %} {% load i18n static bootstrap3 popupcrud_list bsmodal %} {% block extrahead %} {{ view.media }} {% endblock extrahead %} {% block content %} {% block popupcrud_list %} {% block create_new %} {% if new_url %}
{% if object_list %} {% if not viewset.popups.create %} {{ new_button_text }} {% else %} {{ new_button_text }} {% endif %} {% endif %}
{% endif %} {% endblock create_new %} {% if object_list %} {% list_content %} {% include "popupcrud/_pagination.html" %} {% else %} {% empty_list %} {% endif %} {% if viewset.popups.create or viewset.popups.update %} {% bsmodal '??' 'create-edit-modal' close_title_button=Yes header_bg_css=bg-primary size=modal_sizes.create_update %} {# modal body will be filled in by jQuery.load() return value #} ?? {% endbsmodal %} {% bsmodal '??' 'add-related-modal' close_title_button=Yes %} {# modal body will be filled in by jQuery.load() return value #} ?? {% endbsmodal %} {% endif %} {# {% if viewset.popups.create or viewset.popups.update %} #} {% if viewset.popups.detail %} {% bsmodal '??' 'detail-modal' close_title_button=Yes header_bg_css=bg-primary %} {# modal body will be filled in by jQuery.load() return value #} ?? {% endbsmodal %} {% endif %} {#{% if viewset.popups.detail %} #} {% trans 'Confirm Delete' as confirm_delete_title %} {% if viewset.popups.delete %} {% bsmodal confirm_delete_title 'delete-modal' close_title_button=Yes header_bg_css=bg-primary size=modal_sizes.delete %} {{ model_options.verbose_name }}:


{% trans 'Are you sure you want to delete this?' %}

{% csrf_token %}
{% endbsmodal %} {% trans 'Action Result' as result %} {% bsmodal result 'action-result-modal' close_title_button=Yes header_bg_css=bg-primary %}

{% endbsmodal %} {% endif %} {# if viewset.popups.delete %} #} {% endblock popupcrud_list %} {% endblock content %}