diff options
author | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-01-31 18:11:11 +0100 |
---|---|---|
committer | Étienne Loks <etienne.loks@iggdrasil.net> | 2025-02-19 14:45:56 +0100 |
commit | 9a6812367df13b1a2fa90bd65149f7998f3651c9 (patch) | |
tree | 69b96697c6e527ca22ba88bf7cb9062be4d52f03 /ishtar_common/utils_migrations.py | |
parent | 41558e93b75c73f59ad35fd2abedc22d3e389029 (diff) | |
download | Ishtar-9a6812367df13b1a2fa90bd65149f7998f3651c9.tar.bz2 Ishtar-9a6812367df13b1a2fa90bd65149f7998f3651c9.zip |
🐛 fix no translations for homepage on new instances (refs #6136)
Diffstat (limited to 'ishtar_common/utils_migrations.py')
-rw-r--r-- | ishtar_common/utils_migrations.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/ishtar_common/utils_migrations.py b/ishtar_common/utils_migrations.py index 3400e1738..21de2fefa 100644 --- a/ishtar_common/utils_migrations.py +++ b/ishtar_common/utils_migrations.py @@ -12,29 +12,6 @@ from django.utils.translation import ugettext_lazy HOMEPAGE_TITLE = ugettext_lazy("Welcome in Ishtar, open source software for management and inventory of archaeological data") -HOMEPAGE_DEFAULT = """{% load i18n %} -<p>{% trans "Some useful links:" %}</p> -<ul> - <li><a href="https://ishtar.readthedocs.io/fr/ISHTAR_DOCUMENT_VERSION/" target="_blank"> - {% trans "Documentation" %}</a>{% trans ":"%} - {% trans "inline documentation." %} - </li> - <li><a href="https://discourse.ishtar-archeo.net/" target="_blank"> - {% trans "Forum" %}</a>{% trans ":"%} - {% trans "need help? find a new bug? a fantastic feature to propose? Here is the place to go." %} - </li> - <li><a href='https://ishtar-archeo.net' target="_blank"> - {% trans "Presentation site and blog" %}</a>{% trans ":"%} - {% trans "stay tuned with Ishtar news!" %} - </li> - <li><a href="https://gitlab.com/iggdrasil/ishtar" target="_blank"> - {% trans "Source code" %}</a> – - <a href="https://tickets.iggdrasil.net/projects/ishtar" target="_blank">{% trans "tickets" %}</a>{% trans ":"%} - {% trans "where the magic happens." %} - </li> -</ul> -""" - def migrations_load_data(module_name, migration_filename): json_path = os.sep.join(os.path.abspath(__file__).split(os.sep)[:-2] + [ |