Catalog link in templates, not catalog-link.js; fixes mod.php error

This commit is contained in:
8chan 2014-09-27 20:06:11 +00:00
parent 3747a3396b
commit 293e30825d
2 changed files with 3 additions and 1 deletions

View File

@ -31,7 +31,7 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %} {% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
<p><a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">Catalog</a></p> <p><a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">{% trans %}Catalog{% endtrans %}</a></p>
</div> </div>
</header> </header>

View File

@ -25,6 +25,7 @@
{% endif %} {% endif %}
{% endif %} {% endif %}
{% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %} {% if mod %}<p><a href="?/">{% trans %}Return to dashboard{% endtrans %}</a></p>{% endif %}
<p><a href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">Catalog</a></p>
</div> </div>
</header> </header>
@ -46,6 +47,7 @@
</form> </form>
<a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a> <a href="{{ return }}">[{% trans %}Return{% endtrans %}]</a>
<a href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a> <a href="#" style="padding-left: 10px">[{% trans %}Go to top{% endtrans %}]</a>
<a style="padding-left: 10px" href="{{ config.root }}{{ board.dir }}{{ config.catalog_link }}">[{% trans %}Catalog{% endtrans %}]</a>
{{ boardlist.bottom }} {{ boardlist.bottom }}