From 3c50d5c471334d3753df8b553e9622be5096ed80 Mon Sep 17 00:00:00 2001 From: Simon Cozens Date: Thu, 5 Apr 2007 04:59:00 +0000 Subject: [PATCH] Take username from logged in user. Fixes #20. git-svn-id: http://svn.simon-cozens.org/memories/trunk@55 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- templates/photo/comment | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/templates/photo/comment b/templates/photo/comment index b939025..6b86722 100644 --- a/templates/photo/comment +++ b/templates/photo/comment @@ -48,7 +48,12 @@ function post_comment () { [% END %]
- Name:
+ [% IF request.user %] + + [% ELSE %] + Name: +
+ [% END %]

-- 2.39.2