summaryrefslogtreecommitdiff
path: root/yaksh/templates
diff options
context:
space:
mode:
authorankitjavalkar2020-11-06 18:37:35 +0530
committerGitHub2020-11-06 18:37:35 +0530
commit5d320e054cd125582c56a6c25a70ba57f1cccbce (patch)
treebc4fb8514f33bb7f60a3b7203b001fda8ca67472 /yaksh/templates
parentdc62c7ca750fd3a38b5efd706c5929c658d9f2b7 (diff)
parent11d1586a53c27d4e58cde9e57d4eac3df63b639f (diff)
downloadonline_test-5d320e054cd125582c56a6c25a70ba57f1cccbce.tar.gz
online_test-5d320e054cd125582c56a6c25a70ba57f1cccbce.tar.bz2
online_test-5d320e054cd125582c56a6c25a70ba57f1cccbce.zip
Merge pull request #793 from ankitjavalkar/fix_forum_del_url
Fix bug which prevented deletion of comments in forum
Diffstat (limited to 'yaksh/templates')
-rw-r--r--yaksh/templates/yaksh/post_comments.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/yaksh/templates/yaksh/post_comments.html b/yaksh/templates/yaksh/post_comments.html
index 70aac47..aadc48b 100644
--- a/yaksh/templates/yaksh/post_comments.html
+++ b/yaksh/templates/yaksh/post_comments.html
@@ -77,7 +77,7 @@
</strong>
</div>
<div class="col-6 text-right">
- <small class="text-muted">{{comment.created_at}} {% if user == course.creator or user in course.get_teachers %} <a href="{% url 'yaksh:hide_comment' post.target.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small>
+ <small class="text-muted">{{comment.created_at}} {% if user == course.creator or user in course.get_teachers %} <a href="{% url 'yaksh:hide_comment' course.id comment.uid %}" class="fa fa-trash"></a>{% endif %}</small>
</div>
</div>
<p class="card-text description">{{comment.description|safe}}</p>