From a44bb4131dd191b4ef5be4e1403fd18bb4987b55 Mon Sep 17 00:00:00 2001 From: Étienne Loks Date: Thu, 26 Sep 2024 14:31:54 +0200 Subject: 🩹 Welcome page: simplify and init Welcome fields management MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ishtar_common/templates/index.html | 4 ++-- ishtar_common/templates/welcome.html | 10 ---------- 2 files changed, 2 insertions(+), 12 deletions(-) delete mode 100644 ishtar_common/templates/welcome.html (limited to 'ishtar_common/templates') 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 %}
-

{% if welcome_title %}{{welcome_title}}{% else %}{% trans "Welcome in Ishtar, open source software for management and inventory of archaeological data" %}{% endif %}

+

{{welcome_title}}

{% if display_random_image %} {{random_image}} @@ -9,7 +9,7 @@
- {% if homepage %}{{homepage|safe}}{% else %}{% include "welcome.html" %}{% endif %} + {{homepage|safe}}
diff --git a/ishtar_common/templates/welcome.html b/ishtar_common/templates/welcome.html deleted file mode 100644 index c5d21cecc..000000000 --- a/ishtar_common/templates/welcome.html +++ /dev/null @@ -1,10 +0,0 @@ -{% load i18n %} - -

{% trans "Some useful links:" %}

- -- cgit v1.2.3