{% extends '_components/sub_menu/simple_modal.html' %} {% load i18n %} {% block 'btn_label' %} {% if id == 'resource_confirm_add' %} {% trans 'Add' %} {% elif id == 'resource_confirm_modify' %} {% trans 'Modify' %} {% elif id == 'resource_confirm_change_password' %} {% trans 'Change Password' %} {% elif id == 'resource_confirm_rename' %} {% trans 'Rename' %} {% elif id == 'resource_confirm_update' %} {% trans 'Update' %} {% elif id == 'resource_confirm_add_member' %} {% trans 'Add Members' %} {% elif id == 'resource_confirm_delete_member' %} {% trans 'Delete Members' %} {% endif %} {% endblock %} {% block 'modal_title' %} {% if id == 'resource_confirm_add' %} {% trans 'Add' %} {% elif id == 'resource_confirm_modify' %} {% trans 'Modify' %} {% elif id == 'resource_confirm_change_password' %} {% trans 'Change Password' %} {% elif id == 'resource_confirm_rename' %} {% trans 'Rename' %} {% elif id == 'resource_confirm_update' %} {% trans 'Update' %} {% elif id == 'resource_confirm_add_member' %} {% trans 'Add Members' %} {% elif id == 'resource_confirm_delete_member' %} {% trans 'Delete Members' %} {% endif %} {% endblock %} {% block 'modal_body' %}

{% if id == 'resource_confirm_add' %} {% trans 'Are you sure you want to add this resource?' %} {% elif id == 'resource_confirm_modify' %} {% trans 'Are you sure you want to modify this resource?' %} {% elif id == 'resource_confirm_change_password' %} {% trans 'Are you sure you want to change the password?' %} {% elif id == 'resource_confirm_rename' %} {% trans 'Are you sure you want to rename?' %} {% elif id == 'resource_confirm_update' %} {% trans 'Are you sure you want to update?' %} {% elif id == 'resource_confirm_add_member' %} {% trans 'Are you sure you want to add members?' %} {% elif id == 'resource_confirm_delete_member' %} {% trans 'Are you sure you want to delete members?' %} {% endif %}

{% endblock %}