diff options
author | ankitjavalkar | 2020-11-06 18:37:35 +0530 |
---|---|---|
committer | GitHub | 2020-11-06 18:37:35 +0530 |
commit | 5d320e054cd125582c56a6c25a70ba57f1cccbce (patch) | |
tree | bc4fb8514f33bb7f60a3b7203b001fda8ca67472 | |
parent | dc62c7ca750fd3a38b5efd706c5929c658d9f2b7 (diff) | |
parent | 11d1586a53c27d4e58cde9e57d4eac3df63b639f (diff) | |
download | online_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
-rw-r--r-- | yaksh/templates/yaksh/post_comments.html | 2 |
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> |