2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00

more base.html automation

This commit is contained in:
Philip Sargent 2024-03-14 21:35:58 +00:00
parent b3490aa52d
commit 4c8a88d20c

View File

@ -10,9 +10,14 @@
{% block head %}{% endblock %}
</head>
<body>
{% if year %}
{% firstof year as current_year %}
{% else %}
{% firstof "2023" as current_year %}
{% endif %}
<div id="header">
<h1>CUCC Expeditions to Austria: 1976 - 2022</h1>
<h1>CUCC Expeditions to Austria: 1976 - {{current_year}}</h1>
<div id="editLinks"> {% block loginInfo %}
{% if settings.DEVSERVER %}<b style="color:red">RUNNING ON LOCALSERVER</b>{% endif %}
<a href="/">Home</a> |
@ -51,10 +56,10 @@
<a id="folklink" href="/folk">expoers</a> |
<a id="caversLink" href="{% url "notablepersons" %}">survey lengths</a> |
<a href="{% url "stats" %}">statistics</a> |
<a href="/survexfilewild/2023">Wild Survex(2023)</a> |
<a href="/wallets/year/2023">Wallets(2023)</a> |
<a href="{% url "expedition" 2023 %}">Expo(2023)</a> |
<a href="{% url "controlpanel" %}">Control panel</a> | {{ user.current_year }} |
<a href="/survexfilewild/{{current_year}}">Wild Survex({{current_year}})</a> |
<a href="/wallets/year/{{current_year}}">Wallets({{current_year}})</a> |
<a href="{% url "expedition" current_year %}">Expo({{current_year}})</a> |
<a href="{% url "controlpanel" %}">Control panel</a> |
</div>