diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-24 15:06:16 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-24 15:06:48 -0500 |
commit | 2684f341f5111fb831fb80e2b3b7ea7401cefc1c (patch) | |
tree | 5840363226b2725253c01b69c66af8480ac0625e /user_profile-fix_wrong_nesting.patch | |
parent | 9a5b2da574278716d9f0b4afc7217166612cad3e (diff) | |
download | mediagoblin-2684f341f5111fb831fb80e2b3b7ea7401cefc1c.tar.lz mediagoblin-2684f341f5111fb831fb80e2b3b7ea7401cefc1c.tar.xz mediagoblin-2684f341f5111fb831fb80e2b3b7ea7401cefc1c.zip |
User profile had the wrong {% else %} nesting.
Thanks for the patch Velmont / Odin Hørthe Omdal!
Diffstat (limited to 'user_profile-fix_wrong_nesting.patch')
-rw-r--r-- | user_profile-fix_wrong_nesting.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/user_profile-fix_wrong_nesting.patch b/user_profile-fix_wrong_nesting.patch new file mode 100644 index 00000000..590f87ff --- /dev/null +++ b/user_profile-fix_wrong_nesting.patch @@ -0,0 +1,17 @@ +diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html +index 9d99ac5..a2b85af 100644 +--- a/mediagoblin/templates/mediagoblin/user_pages/user.html ++++ b/mediagoblin/templates/mediagoblin/user_pages/user.html +@@ -42,9 +42,9 @@ + <a href={{ request.urlgen( + 'mediagoblin.user_pages.atom_feed', + user=user.username) }}>atom feed</a> +- {% else %} +- {# This *should* not occur as the view makes sure we pass in a user. #} +- <p>Sorry, no such user found.<p/> + </div> ++ {% else %} ++ {# This *should* not occur as the view makes sure we pass in a user. #} ++ <p>Sorry, no such user found.<p/> + {% endif %} + {% endblock %} |