removed homepage use of ifsetting_tag

This commit is contained in:
James Tauber 2012-05-29 15:17:08 -04:00
parent 02319e51c8
commit 6160ede722

View file

@ -1,7 +1,6 @@
{% extends "banner_base.html" %} {% extends "banner_base.html" %}
{% load i18n %} {% load i18n %}
{% load ifsetting_tag %}
{% block head_title %}{% trans "Welcome" %}{% endblock %} {% block head_title %}{% trans "Welcome" %}{% endblock %}
@ -34,11 +33,7 @@
<p class="what_next">{% blocktrans %}Wondering <a href="{{ what_next_url }}" class="btn primary large">What Next</a>?{% endblocktrans %}</p> <p class="what_next">{% blocktrans %}Wondering <a href="{{ what_next_url }}" class="btn primary large">What Next</a>?{% endblocktrans %}</p>
{% else %} {% else %}
{% url acct_login as login_url %} {% url acct_login as login_url %}
{% ifsetting ACCOUNT_OPEN_SIGNUP %}
{% url acct_signup as signup_url %} {% url acct_signup as signup_url %}
<p>{% blocktrans %}You can <a href="{{ login_url }}" class="btn">Log In</a> or <a href="{{ signup_url }}" class="btn primary">Sign Up</a> to try out the site.{% endblocktrans %}</p> <p>{% blocktrans %}You can <a href="{{ login_url }}" class="btn">Log In</a> or <a href="{{ signup_url }}" class="btn primary">Sign Up</a> to try out the site.{% endblocktrans %}</p>
{% else %}
<p>{% blocktrans %}You can <a href="{{ login_url }}" class="btn primary large">Log In</a> to try out the site.{% endblocktrans %}</p>
{% endifsetting %}
{% endif %} {% endif %}
{% endblock %} {% endblock %}