Reindentation
authorAditi Mittal <aditi.iitr@gmail.com>
Sat, 7 Sep 2013 08:15:27 +0000 (13:45 +0530)
committerAditi Mittal <aditi.iitr@gmail.com>
Sat, 7 Sep 2013 08:15:27 +0000 (13:45 +0530)
mediagoblin/media_types/blog/templates/mediagoblin/blog/list_of_blogs.html

index c1eed9e4aa25b1034d2cefcad971ecda6e267050..6a86135f73b0d12e9f14c60891c801ace59d5fcf 100644 (file)
 {% block mediagoblin_content %}
 <table>
     {% 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%}  
-            <tr><a href="{{ others_blog_url }}">{{ blog.title }}</a></tr>
-    {% else %}      
-            {% set my_blog_url = request.urlgen('mediagoblin.media_types.blog.blog-dashboard', 
-           blog_slug=blog.slug, user=request.user.username) %}                                
-               <tr><a href="{{ my_blog_url }}">{{ blog.title }}</a></tr>
-       {% endif %}
-       <br>
-       {% 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%}  
+                    <tr><a href="{{ others_blog_url }}">{{ blog.title }}</a></tr>
+             {% else %}      
+                    {% set my_blog_url = request.urlgen('mediagoblin.media_types.blog.blog-dashboard', 
+                   blog_slug=blog.slug, user=request.user.username) %}                                
+                <tr><a href="{{ my_blog_url }}">{{ blog.title }}</a></tr>
+             {% endif %}
+             <br>
+        {% endfor %}
     {% else %}
-    <p>No blog has been created yet.</p>
+        <p>No blog has been created yet.</p>
     {% endif %}
 </table>
 {% endblock mediagoblin_content %}
 
 
 
-
-
-
-
-
-
-
-
-
-