Skip to content

Commit

Permalink
Add a more visible link to register account in the MOTD section
Browse files Browse the repository at this point in the history
the register account link is in the top-right menu, under
"Welcome Guest". This change adds a bit of text into the MOTD area
of the login screen to make registrations easier!
  • Loading branch information
atodorov committed Oct 27, 2017
1 parent 91bd67c commit 2d962e7
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions tcms/templates/registration/login.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,16 @@
<p>
{% if SETTINGS.MOTD_LOGIN %}
{{ SETTINGS.MOTD_LOGIN|safe}}
{% else %}
Please login to get started.
{% endif %}
</p>
<p>
Please login to get started
{% if AUTH_BACKEND.can_register %}
or <a href="{% url "tcms-register" %}" style="color:white;text-decoration:underline">register an account</a>
if you don't have one
{% endif %}
!
</p>
</div><!--/.col-*-->
</div><!--/.row-->
</div><!--/.container-->
Expand Down

0 comments on commit 2d962e7

Please sign in to comment.