# HG changeset patch # User Jordi GutiƩrrez Hermoso # Date 1297075028 21600 # Node ID 349162d0ce19ea518beb5d1cb542ea761a9c272f # Parent fd4c5b26b67a2c67275bd6092cb7261ca56ea561 Fundamental fixes in snippet templates diff -r fd4c5b26b67a -r 349162d0ce19 templates/profile/user.djhtml --- a/templates/profile/user.djhtml Tue Jan 18 23:04:05 2011 -0600 +++ b/templates/profile/user.djhtml Mon Feb 07 04:37:08 2011 -0600 @@ -68,11 +68,16 @@ + {% endif %} {% endif %} diff -r fd4c5b26b67a -r 349162d0ce19 templates/snippet/snippet_details.djhtml --- a/templates/snippet/snippet_details.djhtml Tue Jan 18 23:04:05 2011 -0600 +++ b/templates/snippet/snippet_details.djhtml Mon Feb 07 04:37:08 2011 -0600 @@ -58,13 +58,6 @@ {% else %} {% trans "Snippet" %} #{{ snippet.id}} {% endif %} - - {% if snippet.author %} - {% blocktrans with snippet.author as author %} - by {{ author }} - {% endblocktrans %} - {% endif %} -
@@ -83,6 +76,16 @@ — {% endif %} {% trans "Wordwrap" %} +
+ author: + {% if snippet.author %} + + {{ snippet.author }} + + {% else %} + anonymous + {% endif %} +