Skip to content
Snippets Groups Projects
Verified Commit fdf0d4be authored by Jonathan Weth's avatar Jonathan Weth :keyboard:
Browse files

Change dbsettings syntax for footer URLs to dynamic-preferences

parent 9feb92c9
No related branches found
No related tags found
1 merge request!217Migrate from constance to dynamic-preferences
......@@ -154,16 +154,16 @@
</div>
<div class="right">
<span id="doit"></span>
{% if DB_SETTINGS.footer.impress_url %}
<a class="blue-text text-lighten-4" href="{{ DB_SETTINGS.footer.impress_url }}">
{% if request.site.preferences.footer__impress_url %}
<a class="blue-text text-lighten-4" href="{{ request.site.preferences.footer__impress_url }}">
{% trans "Impress" %}
</a>
{% endif %}
{% if DB_SETTINGS.footer.privacy_url and DB_SETTINGS.footer.impress_url %}
{% if request.site.preferences.footer__privacy_url and request.site.preferences.footer__impress_url %}
·
{% endif %}
{% if DB_SETTINGS.footer.privacy_url %}
<a class="blue-text text-lighten-4" href="{{ DB_SETTINGS.footer.privacy_url }}">
{% if request.site.preferences.footer__privacy_url %}
<a class="blue-text text-lighten-4" href="{{ request.site.preferences.footer__privacy_url }}">
{% trans "Privacy Policy" %}
</a>
{% endif %}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment