mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-06 23:26:19 +01:00
Variable forum/killboard/media urls on index #140
- only rendered if set, otherwise link removed
This commit is contained in:
@@ -52,18 +52,27 @@
|
||||
<img src="{% static 'img/index_images/auth.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p style="text-align:center">
|
||||
<a href="/forums/">
|
||||
<img src="{% static 'img/index_images/forums.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
|
||||
<p style="text-align:center">
|
||||
<a href="/killboard/">
|
||||
<img src="{% static 'img/index_images/killboard.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
{% if FORUM_URL %}
|
||||
<p style="text-align:center">
|
||||
<a href="{{FORUM_URL}}">
|
||||
<img src="{% static 'img/index_images/forums.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if KILLBOARD_URL %}
|
||||
<p style="text-align:center">
|
||||
<a href="{{KILLBOARD_URL}}">
|
||||
<img src="{% static 'img/index_images/killboard.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
{% if MEDIA_URL %}
|
||||
<p style="text-align:center">
|
||||
<a href="{{MEDIA_URL}}">
|
||||
<img src="{% static 'img/index_images/media.png' %}" border="0">
|
||||
</a>
|
||||
</p>
|
||||
{% endif %}
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
||||
|
||||
Reference in New Issue
Block a user