Updated spacings in code for better readability

This commit is contained in:
Rasmus Larsson 2011-07-09 15:52:30 +02:00
parent 13bb1d676e
commit 5647d641a2
3 changed files with 6 additions and 6 deletions

View File

@ -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>

View File

@ -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 %}

View File

@ -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):