Commit 3c5fb1a4 authored by Alexandre's avatar Alexandre

feature: message when not connected on my-actions #97

parent d817eec0
......@@ -10,6 +10,7 @@
</div>
</header>
{% if user.is_authenticated %}
<sib-display
id="my-actions-sib-display"
data-src="{{request.scheme}}://{{ request.META.HTTP_HOST }}/api/users/{{ request.user.id }}/actions/"
......@@ -44,5 +45,11 @@
next="action-detail"
></sib-display>
{% else %}
<p>Vous devez être connecté.e pour accéder à cette page</p>
<button>
<a href="{% url 'auth_login' %}">Me connecter</a>
</button>
{% endif %}
</div>
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