Skip to content

Commit

Permalink
fix: N'affiche plus "Suivre ce contenu" pour les visiteurs.
Browse files Browse the repository at this point in the history
Closes #3545
  • Loading branch information
GerardPaligot committed Apr 24, 2016
1 parent 464434f commit d2d8897
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/tutorialv2/view/content_online.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,7 +106,7 @@ <h2 class="subtitle" itemprop="description">
{% endblock %}

{% block sidebar_actions %}

{% if user.is_authenticated %}
<li>
{% with content_is_followed=object|is_content_followed %}
<form action="{% url "content:follow" object.pk %}" method="post">
Expand All @@ -133,7 +133,7 @@ <h2 class="subtitle" itemprop="description">
</form>
{% endwith %}
</li>

{% endif %}
{% endblock %}

{% block sidebar_blocks %}
Expand Down

0 comments on commit d2d8897

Please sign in to comment.