summaryrefslogtreecommitdiff
path: root/ishtar_common/templates/index.html
diff options
context:
space:
mode:
authorÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-26 14:31:54 +0200
committerÉtienne Loks <etienne.loks@iggdrasil.net>2024-09-26 17:48:33 +0200
commita44bb4131dd191b4ef5be4e1403fd18bb4987b55 (patch)
tree94aed38b0e4b888cbd299e38a633444d219220ea /ishtar_common/templates/index.html
parentf18ffffb54004411ed8cb981aef097d9f1051ead (diff)
downloadIshtar-a44bb4131dd191b4ef5be4e1403fd18bb4987b55.tar.bz2
Ishtar-a44bb4131dd191b4ef5be4e1403fd18bb4987b55.zip
🩹 Welcome page: simplify and init Welcome fields management
Diffstat (limited to 'ishtar_common/templates/index.html')
-rw-r--r--ishtar_common/templates/index.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/ishtar_common/templates/index.html b/ishtar_common/templates/index.html
index d1000396a..69bc52617 100644
--- a/ishtar_common/templates/index.html
+++ b/ishtar_common/templates/index.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n %}
{% block content %}<div id="welcome" class="container">
- <h2>{% if welcome_title %}{{welcome_title}}{% else %}{% trans "Welcome in Ishtar, open source software for management and inventory of archaeological data" %}{% endif %}</h2>
+ <h2>{{welcome_title}}</h2>
<div class="row">
{% if display_random_image %}
{{random_image}}
@@ -9,7 +9,7 @@
<div class="col col-lg-9">
<div class="card">
<div class="card-body">
- {% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %}
+ {{homepage|safe}}
</div>
</div>
</div>