Ticket #158: user_profile-fix_wrong_nesting.patch

File user_profile-fix_wrong_nesting.patch, 757 bytes (added by Odin Hørthe Omdal, 13 years ago)

user_profile-fix_wrong_nesting.patch

  • mediagoblin/templates/mediagoblin/user_pages/user.html

    diff --git a/mediagoblin/templates/mediagoblin/user_pages/user.html b/mediagoblin/templates/mediagoblin/user_pages/user.html
    index 9d99ac5..a2b85af 100644
    a b  
    4242      <a href={{ request.urlgen(
    4343                     'mediagoblin.user_pages.atom_feed',
    4444                     user=user.username) }}>atom feed</a>
    45       {% else %}
    46       {# This *should* not occur as the view makes sure we pass in a user. #}
    47       <p>Sorry, no such user found.<p/>
    4845    </div>
     46  {% else %}
     47    {# This *should* not occur as the view makes sure we pass in a user. #}
     48    <p>Sorry, no such user found.<p/>
    4949  {% endif %}
    5050{% endblock %}