Skip to content

Commit 34990b5

Browse files
author
Gabriel Monroy
committed
Merge pull request #423 from opdemand/hide-web-signup
Fixed #402 -- hide web signup, point users to CLI.
2 parents 2558943 + 711eba4 commit 34990b5

2 files changed

Lines changed: 6 additions & 1 deletion

File tree

web/templates/account/login.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010

1111
<h1>{% trans "Log In" %}</h1>
1212

13-
<p>{% blocktrans %}Need an account? <a href="{{ signup_url }}"><strong>Sign up</strong></a>.{% endblocktrans %}</p>
13+
<p>Need an account? Use the <a href="https://pypi.python.org/pypi/deis">Deis CLI</a> to sign up.</p>
1414

1515
<form class="login" method="POST" action="{% url 'account_login' %}">
1616
{% csrf_token %}

web/templates/account/signup.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ <h1>{% trans "Sign Up" %}</h1>
1010

1111
<p>{% blocktrans %}Already have an account? <a href="{{ login_url }}"><strong>Log in</strong></a>.{% endblocktrans %}</p>
1212

13+
<p>
14+
Please use the <a href="https://pypi.python.org/pypi/deis">Deis CLI</a> to sign up.
15+
</p>
16+
<!--
1317
<form class="signup" id="signup_form" method="post" action="{% url 'account_signup' %}">
1418
{% csrf_token %}
1519
{{ form.as_p }}
@@ -18,6 +22,7 @@ <h1>{% trans "Sign Up" %}</h1>
1822
{% endif %}
1923
<button type="submit">{% trans "Sign Up" %} &raquo;</button>
2024
</form>
25+
-->
2126

2227

2328
{% endblock %}

0 commit comments

Comments
 (0)