Add rel="nofollow" to a couple of the account links to prevent the

test crawler from going to /account/login/ and getting an error back,
with this change the crawler currently runs without reporting any
errors
 - Legacy-Id: 7114
This commit is contained in:
Ole Laursen 2014-01-13 12:21:46 +00:00
parent 591e90a7a0
commit c4313a4f42
2 changed files with 3 additions and 3 deletions

View file

@ -51,7 +51,7 @@
<form action="" method="post">{% csrf_token %}
<p>
If you already have an account, and want to use a new email address,<br/>
please go to your <a href="{% url "ietf.ietfauth.views.profile" %}">account profile page</a> and
please go to your <a href="{% url "ietf.ietfauth.views.profile" %}" rel="nofollow">account profile page</a> and
add the new email<br/>
address there.
</p>

View file

@ -12,11 +12,11 @@
{% if user.username %}
<li><a href="/accounts/profile/">View and edit your profile</a></li>
{% else %}
<li><a href="/accounts/login/">Sign in</a></li>
<li><a href="/accounts/login/" rel="nofollow">Sign in</a></li>
{% endif %}
<li><a href="/accounts/create/">Request an account</a></li>
<li><a href="/accounts/reset/">Request a password reset </a></li>
<li><a href="/cookies/">Change your datatracker preferences for this browser</a></li>
<li><a href="/cookies/">Change your datatracker preferences for this browser</a></li>
</ul>
</p>