Skip to content
This repository has been archived by the owner on Apr 15, 2022. It is now read-only.

Commit

Permalink
supress sign up button when closed
Browse files Browse the repository at this point in the history
Signed-off-by: Hiroshi Miura <[email protected]>
  • Loading branch information
miurahr committed Jan 10, 2015
1 parent 0873247 commit 5699656
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion sotmjp/templates/_account_bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,9 @@
</form>
{% else %}
<a class="login" href="{% url 'account_login' %}">{% trans "Log in" %}</a>
<a class="signup" href="{% url 'account_signup' %}">{% trans "Sign up" %}</a>

{% if config.REGISTRATION_STATUS != 'closed' %}
<a class="signup" href="{% url 'account_signup' %}">{% trans "Sign up" %}</a>
{% endif %}
{% endif %}
</div>

0 comments on commit 5699656

Please sign in to comment.