From: Rasmus Larsson
Date: Sat, 9 Jul 2011 13:52:30 +0000 (+0200)
Subject: Updated spacings in code for better readability
X-Git-Url: https://vcs.fsf.org/?a=commitdiff_plain;h=5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2;p=mediagoblin.git
Updated spacings in code for better readability
---
diff --git a/mediagoblin/templates/mediagoblin/auth/login.html b/mediagoblin/templates/mediagoblin/auth/login.html
index ebf5200a..e25783ea 100644
--- a/mediagoblin/templates/mediagoblin/auth/login.html
+++ b/mediagoblin/templates/mediagoblin/auth/login.html
@@ -36,7 +36,7 @@
style="display: none;"/>
{% endif %}
{% if allow_registration %}
- Don't have an account yet?
Create one here!
+ Don't have an account yet?
Create one here!
{% endif %}
diff --git a/mediagoblin/templates/mediagoblin/root.html b/mediagoblin/templates/mediagoblin/root.html
index ad9aabcb..bae033c4 100644
--- a/mediagoblin/templates/mediagoblin/root.html
+++ b/mediagoblin/templates/mediagoblin/root.html
@@ -30,10 +30,10 @@
Login.
{% if allow_registration %}
-
- If you don't have an account, please
- Register.
-
+
+ If you don't have an account, please
+ Register.
+
{% endif %}
{% endif %}
diff --git a/mediagoblin/views.py b/mediagoblin/views.py
index 6145484b..e7d9dbdd 100644
--- a/mediagoblin/views.py
+++ b/mediagoblin/views.py
@@ -25,7 +25,7 @@ def root_view(request):
return render_to_response(
request, 'mediagoblin/root.html',
{'media_entries': media_entries,
- 'allow_registration': mg_globals.app_config["allow_registration"]})
+ 'allow_registration': mg_globals.app_config["allow_registration"]})
def simple_template_render(request):