diff --git a/files/templates/files/delete_file.html b/files/templates/files/delete_file.html index bb0c8db..21b1751 100644 --- a/files/templates/files/delete_file.html +++ b/files/templates/files/delete_file.html @@ -15,16 +15,6 @@
{% csrf_token %} - {% if messages %} - {% for message in messages %} - - {% endfor %} - {% endif %}
{% trans "Are you sure to delete " %} {{ file.name }} of {{ file.topic.name }}? @@ -62,6 +52,7 @@ $('#file_{{ file.slug }}').remove(); $('#file_edit_icon_{{ file.slug }}').remove(); $('#file_edit_{{ file.slug }}').remove(); + alertify.success(" {% trans 'File successfully deleted!' %} "); }, error: function(data){ // $('.erro-update').html(data.responseText); @@ -74,4 +65,4 @@ }); {% endblock script_file %} - \ No newline at end of file + -- libgit2 0.21.2