Verified Commit b5b68124 authored by Martin Matějek's avatar Martin Matějek
Browse files

fixup! fixup! fixup! fixup! fixup! Provide info whether user is logged in to JS

parent 38ccb9fb
Pipeline #83436 passed with stage
in 20 minutes and 3 seconds
......@@ -16,6 +16,8 @@
/>
{% if user_is_logged %}
<script>window.initialData = {{ user_is_logged | tojson }}</script>
{% else %}
<script>window.initialData = {'logged': false }</script>
{% endif %}
<script>FontAwesomeConfig = { autoReplaceSvg: 'nest' }</script>
{# JS #} {% include 'includes/locale.html' %} {% include
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment