From ae71a3a1d6acc4b123119f4ff5eabb2dc1c5c178 Mon Sep 17 00:00:00 2001 From: Aditi Mittal Date: Sat, 7 Sep 2013 13:45:27 +0530 Subject: [PATCH] Reindentation --- .../mediagoblin/blog/list_of_blogs.html | 36 +++++++------------ 1 file changed, 13 insertions(+), 23 deletions(-) diff --git a/mediagoblin/media_types/blog/templates/mediagoblin/blog/list_of_blogs.html b/mediagoblin/media_types/blog/templates/mediagoblin/blog/list_of_blogs.html index c1eed9e4..6a86135f 100644 --- a/mediagoblin/media_types/blog/templates/mediagoblin/blog/list_of_blogs.html +++ b/mediagoblin/media_types/blog/templates/mediagoblin/blog/list_of_blogs.html @@ -28,20 +28,20 @@ {% block mediagoblin_content %} {% if blogs%} - {% for blog in blogs %} - {% set others_blog_url = request.urlgen('mediagoblin.media_types.blog.blog_post_listing', - blog_slug=blog.slug, user=user.username) %} - {% if not request.user or request.user.username != user%} - {{ blog.title }} - {% else %} - {% set my_blog_url = request.urlgen('mediagoblin.media_types.blog.blog-dashboard', - blog_slug=blog.slug, user=request.user.username) %} - {{ blog.title }} - {% endif %} -
- {% endfor %} + {% for blog in blogs %} + {% set others_blog_url = request.urlgen('mediagoblin.media_types.blog.blog_post_listing', + blog_slug=blog.slug, user=user.username) %} + {% if not request.user or request.user.username != user.username%} + {{ blog.title }} + {% else %} + {% set my_blog_url = request.urlgen('mediagoblin.media_types.blog.blog-dashboard', + blog_slug=blog.slug, user=request.user.username) %} + {{ blog.title }} + {% endif %} +
+ {% endfor %} {% else %} -

No blog has been created yet.

+

No blog has been created yet.

{% endif %}
{% endblock mediagoblin_content %} @@ -55,14 +55,4 @@ - - - - - - - - - - -- 2.25.1