Skip to content

Commit

Permalink
Merge pull request #101 from rl-institut/features/stemp_short_link
Browse files Browse the repository at this point in the history
Added "Kurzbeschreibung" to WAM-landing page under "Applications"
  • Loading branch information
henhuy authored Apr 20, 2020
2 parents 9cf0796 + 93d9876 commit 3586102
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
7 changes: 6 additions & 1 deletion templates/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,13 @@
<div class="grid-x align-center">

{% for category, apps in app_infos.items %}
<div class="cell">
<div class="cell" style="text-align: center">
<h2 class="hp-features__header">{{category.label|safe}}</h2>
{% if category.value == "app" %}
<a href="https://reiner-lemoine-institut.de/wp-content/uploads/2020/03/RLI_Stakeholder_Tools.pdf">
Kurzbeschreibung Dialog- und Visualisierungswerkzeuge für Energie und Infrastruktur (pdf)
</a>
{% endif %}
</div>
{% for app in apps %}
<div class="cell medium-6 hp-features__card">
Expand Down
8 changes: 4 additions & 4 deletions wam/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,7 @@
# Database
# https://docs.djangoproject.com/en/1.11/ref/settings/#databases
DJANGO_DB = config["WAM"].get("DJANGO_DB", "DEFAULT")
DATABASES = {"default": {**config["DATABASES"][DJANGO_DB],}}
DATABASES = {"default": {**config["DATABASES"][DJANGO_DB], }}


# Password validation
Expand All @@ -127,9 +127,9 @@
{
"NAME": "django.contrib.auth.password_validation.UserAttributeSimilarityValidator",
},
{"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator",},
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator",},
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator",},
{"NAME": "django.contrib.auth.password_validation.MinimumLengthValidator", },
{"NAME": "django.contrib.auth.password_validation.CommonPasswordValidator", },
{"NAME": "django.contrib.auth.password_validation.NumericPasswordValidator", },
]


Expand Down

0 comments on commit 3586102

Please sign in to comment.