diff options
author | ankitjavalkar | 2020-11-06 18:36:04 +0530 |
---|---|---|
committer | ankitjavalkar | 2020-11-06 18:36:04 +0530 |
commit | 11d1586a53c27d4e58cde9e57d4eac3df63b639f (patch) | |
tree | 2e0a7849e0128bfcdd7a204062487f84e4b869fb /yaksh | |
parent | 1ad9f3176c2df25df1f8fae601eef657e39f8b46 (diff) | |
download | online_test-11d1586a53c27d4e58cde9e57d4eac3df63b639f.tar.gz online_test-11d1586a53c27d4e58cde9e57d4eac3df63b639f.tar.bz2 online_test-11d1586a53c27d4e58cde9e57d4eac3df63b639f.zip |
Fix bug which prevented deletion of comments in forum
Diffstat (limited to 'yaksh')
-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> |