Skip to content

Commit

Permalink
fix #5462 : n'affiche la version brouillon qu'en cas de besoin
Browse files Browse the repository at this point in the history
  • Loading branch information
firm1 authored and artragis committed Nov 5, 2019
1 parent c3d3538 commit a4567ca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion templates/tutorialv2/view/content.html
Original file line number Diff line number Diff line change
Expand Up @@ -275,7 +275,7 @@ <h2>
<a href="{% url "content:import" content.pk content.slug %}" class="ico-after import blue new-btn">
{% trans "Importer une nouvelle version" %}
</a>

{% elif not version or version != content.sha_draft %}
<a href="{{ object.get_absolute_url }}" class="ico-after arrow-right blue new-btn">
{% trans "Version brouillon" %}
</a>
Expand Down

0 comments on commit a4567ca

Please sign in to comment.