From: Simon Cozens Date: Thu, 5 Apr 2007 04:59:00 +0000 (+0000) Subject: Take username from logged in user. Fixes #20. X-Git-Tag: 1.2+svn20070808~13 X-Git-Url: https://git.decadent.org.uk/gitweb/?a=commitdiff_plain;h=3c50d5c471334d3753df8b553e9622be5096ed80;p=memories.git Take username from logged in user. Fixes #20. git-svn-id: http://svn.simon-cozens.org/memories/trunk@55 041978f6-d955-411f-a9d7-1d8545c9c3c7 --- 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 %]