aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin
diff options
context:
space:
mode:
authorRasmus Larsson <flame@constantine.(none)>2011-07-09 15:52:30 +0200
committerRasmus Larsson <flame@constantine.(none)>2011-07-09 15:52:30 +0200
commit5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2 (patch)
tree07e9afd4a32a11a0b7705ca1dec3e0365eb5cbfb /mediagoblin
parent13bb1d676e3363605d87acd34bdb6b701ec467dd (diff)
downloadmediagoblin-5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2.tar.lz
mediagoblin-5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2.tar.xz
mediagoblin-5647d641a27b1ebd9f9de4c8b6c452d80be0f4a2.zip
Updated spacings in code for better readability
Diffstat (limited to 'mediagoblin')
-rw-r--r--mediagoblin/templates/mediagoblin/auth/login.html2
-rw-r--r--mediagoblin/templates/mediagoblin/root.html8
-rw-r--r--mediagoblin/views.py2
3 files changed, 6 insertions, 6 deletions
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 %}
- <p>Don't have an account yet?<br /><a href="{{ request.urlgen('mediagoblin.auth.register') }}">Create one here!</a></p>
+ <p>Don't have an account yet?<br /><a href="{{ request.urlgen('mediagoblin.auth.register') }}">Create one here!</a></p>
{% endif %}
</div>
</form>
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 @@
<a href="{{ request.urlgen('mediagoblin.auth.login') }}">Login</a>.
</p>
{% if allow_registration %}
- <p>
- If you don't have an account, please
- <a href="{{ request.urlgen('mediagoblin.auth.register') }}">Register</a>.
- </p>
+ <p>
+ If you don't have an account, please
+ <a href="{{ request.urlgen('mediagoblin.auth.register') }}">Register</a>.
+ </p>
{% 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):