2021-12-05 21:23:06 +00:00
|
|
|
{% extends 'base.html' %}
|
|
|
|
|
|
|
|
{% block title %}Troggle Error - Bad Slug{% endblock %}
|
|
|
|
{% block content %}
|
|
|
|
|
|
|
|
<div class='middle'>
|
|
|
|
<h2>Bad Slug Error</h2>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
<div class='middle3 login'>
|
|
|
|
<div class='space'></div>
|
|
|
|
<div class='align-center'>
|
|
|
|
<h3>There has been a Troggle error. </h3>
|
|
|
|
<h4>
|
2022-07-05 18:24:51 +01:00
|
|
|
A Cave, Entrance or QM has been referred to using a label (a 'slug') which does not work.
|
2021-12-05 21:23:06 +00:00
|
|
|
<p>This is the bad slug:
|
|
|
|
|
|
|
|
<font color="red">
|
|
|
|
{% if badslug %}
|
|
|
|
{{badslug}}
|
|
|
|
{% else %}
|
|
|
|
<p>We are terribly sorry but a fault has occurred. Something in the system is referring to something else which does not exist. </p>
|
|
|
|
|
|
|
|
{% endif %}
|
|
|
|
</font>
|
|
|
|
<p>
|
|
|
|
This is the previous page which had the bad slug reference on it: <font color="red">
|
|
|
|
<script type="text/javascript">
|
|
|
|
document.write(document.referrer);
|
|
|
|
</script>
|
|
|
|
</font>
|
|
|
|
</h4>
|
|
|
|
<p>
|
|
|
|
<p>It is also possible that the cave description page is being viewed using an alternative URL,
|
|
|
|
so that the local links in the page to other parts of the cave do not work.
|
|
|
|
<br>
|
|
|
|
e.g. /cave/1623-161 is not the correct way of looking at Kaninchenhohle,
|
|
|
|
<br>
|
|
|
|
you should be using <br>
|
|
|
|
/1623/161/top.htm instead.
|
|
|
|
<p>If that is the case, tell a nerd that we haven't fixed the fault that we thought we had fixed.
|
|
|
|
|
|
|
|
<div class='space'><p> </div>
|
|
|
|
|
|
|
|
<h3>What you should do now</h3>
|
|
|
|
<p>Please report the error by emailing the nerds at
|
|
|
|
<a href="mailto:expo-tech@lists.wookware.org">expo-tech@lists.wookware.org</a> with this information:
|
|
|
|
<ol>
|
|
|
|
<li>The bad slug text written in <font color="red">red</font> above.
|
|
|
|
<li>The previous page URL, also written in <font color="red">red</font> above
|
|
|
|
<li>Go back to this previous page <script type="text/javascript">
|
|
|
|
document.write("<a href='",document.referrer,"'>",document.referrer,"</a>");
|
|
|
|
</script>
|
|
|
|
and see if you can tell whether the bad slug was in HTML text which had been written manually, or whether it appeared to be a programming error.
|
|
|
|
</ol>
|
|
|
|
|
|
|
|
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
{% endblock %}
|