From 0471bbc5819861405c1eb1be3bfa5d51002db513 Mon Sep 17 00:00:00 2001 From: Thibaut Horel Date: Wed, 1 Apr 2015 21:53:11 -0400 Subject: Fix: show the comment editing controls to the comment author (not the news author) --- templates/news/show.html | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'templates') diff --git a/templates/news/show.html b/templates/news/show.html index 8667f5d..905463d 100644 --- a/templates/news/show.html +++ b/templates/news/show.html @@ -22,7 +22,7 @@

- {% if news.user_name==session.user_name %} + {% if comment.user_id==session.user_id %} Modifier {% endif %} {{comment.date|format_date}} @@ -31,7 +31,7 @@

{{comment.content_cache|safe}}
- {% if news.user_name==session.user_name %} + {% if comment.user_id==session.user_id %}
-- cgit v1.2.3-70-g09d2