summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-10-10 07:55:58 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2025-02-19 14:43:48 +0100
commit2a28770954bd2eb699995e5e106109601f87fd1e (patch)
treea61af07113bb1337a96db9ce2b91b3facf066823 /ishtar_common/templates
parent0c570f9ecababa6943852f067ac969886bed2c18 (diff)
downloadIshtar-2a28770954bd2eb699995e5e106109601f87fd1e.tar.bz2
Ishtar-2a28770954bd2eb699995e5e106109601f87fd1e.zip
✨ Display the latest forum entries on the user home page (#5812)
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/index.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/ishtar_common/templates/index.html b/ishtar_common/templates/index.html
index 69bc52617..eaaf7dd54 100644
--- a/ishtar_common/templates/index.html
+++ b/ishtar_common/templates/index.html
@@ -2,6 +2,12 @@
{% load i18n %}
{% block content %}<div id="welcome" class="container">
<h2>{{welcome_title}}</h2>
+ {% if news_feed %}
+ <div id="news-feed" class="card p-3 mb-4">
+ <h3><i class="fa fa-newspaper-o" aria-hidden="true"></i> &nbsp;{% trans "Latest news" %}</h3>
+ {{ news_feed|safe }}
+ </div>
+ {% endif %}
<div class="row">
{% if display_random_image %}
{{random_image}}