Skip to content
Snippets Groups Projects
Commit eddfcabb authored by Thorge Petersen's avatar Thorge Petersen
Browse files

Fixed delete confirmation message

parent 80a2d5b0
No related branches found
No related tags found
2 merge requests!41Version 2.0.0,!38Merge py3 into dev
...@@ -50,7 +50,7 @@ ...@@ -50,7 +50,7 @@
<div class="form-actions"> <div class="form-actions">
{% block delete_button %} {% block delete_button %}
{% if h.check_access('organization_delete', {'id': data.id}) %} {% if h.check_access('organization_delete', {'id': data.id}) %}
<a class="btn btn-danger pull-left" href="{% url_for group_type+'.delete', id=data.id %}" data-module="confirm-action" data-module-content="{{ h.humanize_entity_type('organization', group_type, 'delete confirmation') or _('Are you sure you want to delete this Organization? Note*: Deleting cannot be performed while public or private datasets belong to this organization.') }}">{% block delete_button_text %}{{ _('Delete') }}{% endblock %}</a> <a class="btn btn-danger pull-left" href="{% url_for group_type+'.delete', id=data.id %}" data-module="confirm-action" data-module-content="{{ _('Are you sure you want to delete this Organization? Note*: Deleting cannot be performed while public or private datasets belong to this organization.') }}">{% block delete_button_text %}{{ _('Delete') }}{% endblock %}</a>
{% endif %} {% endif %}
{% endblock %} {% endblock %}
<button class="btn btn-primary" name="save" type="submit">{% block save_text %}{{ _('Save Organization') }}{% endblock %}</button> <button class="btn btn-primary" name="save" type="submit">{% block save_text %}{{ _('Save Organization') }}{% endblock %}</button>
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment