mirror of
https://expo.survex.com/repositories/troggle/.git
synced 2025-12-17 09:17:16 +00:00
preventing _edit_edit_edit* loops by bots
This commit is contained in:
@@ -19,28 +19,28 @@ div#editLinks a{
|
||||
}
|
||||
</style>
|
||||
{% endblock %}
|
||||
{% block title %}Page not found {{ path }}{% endblock %}
|
||||
{% block title %}Page not found '{{ path }}'{% endblock %}
|
||||
|
||||
{% block body %}
|
||||
<h1>Page not found {{ path }}</h1>
|
||||
<h1>Page not found '{{ path }}'</h1>
|
||||
|
||||
<div id="editLinks"> {% block loginInfo %}
|
||||
<a href="/">Home</a> |
|
||||
<a id="cuccLink" href="http://camcaving.uk/">CUCC</a> |
|
||||
<a id="expoWebsiteLink" href="http://expo.survex.com">expo.survex</a> |
|
||||
{% if user.username %}User:{{ user.username }}
|
||||
{% if user.person %}(<a href="{{ user.person.get_absolute_url }}">{{ user.person }}</a>){% endif %}
|
||||
| <a <a href='/accounts/logout/'>Log out</a> {% else %} <a href='/accounts/login/'>Log in</a> {% endif %}
|
||||
</div>
|
||||
{% endblock%}
|
||||
<div >
|
||||
{% if user.username %}user: '{{ user.username }}'
|
||||
| <a <a href='/accounts/logout/'>Log out</a>
|
||||
{% else %} <a href='/accounts/login/'>Log in</a>
|
||||
{% endif %}
|
||||
</div>
|
||||
|
||||
|
||||
<p>Probably a mistake.
|
||||
This page does not exist.
|
||||
|
||||
Did you mistype a URL?
|
||||
If you do want to create this page click <a href="{%url "editexpopage" path %} ">this link</a>.
|
||||
Did you mistype the URL '<b>{{ path }}</b>' ?
|
||||
{% if user.username %}
|
||||
<p>
|
||||
If you do want to create this page, click <a href="{%url "editexpopage" path %} ">this link</a>.
|
||||
{% endif %}
|
||||
<p>
|
||||
|
||||
<p>
|
||||
<p>Did you get lost ?</p>
|
||||
|
||||
<img align=center src="/handbook/i/204-area.png">
|
||||
|
||||
Reference in New Issue
Block a user