pedagogy: add script to remove all previous doubled comments

This commit is contained in:
klmp200 committed 2019-09-04 20:49:17 +02:00
1 parent ca042fe75e
commit a69f7b12b1
7 files changed
+215 -124

No files matched your search

@@ -81,6 +81,11 @@
</div>
<br>
{% if object.has_user_already_commented(user) %}
<div id="leave_comment_not_allowed">
<p>{% trans %}You already posted a comment on this UV. If you want to comment again, please modify or delete your previous comment.{% endtrans %}</p>
</div>
{% else %}
<div id="leave_comment">
<h2>{% trans %}Leave comment{% endtrans %}</h2>
<div>
@@ -134,6 +139,7 @@
</form>
</div>
</div>
{% endif %}
<br>
{% if object.comments.exists() %}