Skip to content

Commit

Permalink
Corrige du HTML invalide (fix zestedesavoir#6632)
Browse files Browse the repository at this point in the history
  • Loading branch information
Arnaud-D committed Aug 11, 2024
1 parent 8fd4985 commit fc2c8e1
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/tutorialv2/view/history.html
Original file line number Diff line number Diff line change
Expand Up @@ -72,17 +72,17 @@ <h2 class="subtitle">
<ul class="unstyled-list">
{% if content.sha_validation == commit.hexsha %}
{% url "content:validation-view" pk=content.pk slug=content.slug as url_validation %}
<a href="{{ url_validation }}"><li>{% trans "Validation" %}</li></a>
<li><a href="{{ url_validation }}">{% trans "Validation" %}</a></li>
{% endif %}
{% if content.sha_beta == commit.hexsha %}
{% url "content:beta-view" pk=content.pk slug=content.slug as url_beta %}
<a href="{{ url_beta }}"><li>{% trans "Bêta" %}</li></a>
<li><a href="{{ url_beta }}">{% trans "Bêta" %}</a></li>
{% endif %}
{% if content.sha_draft == commit.hexsha %}
<a href="{{ content.get_absolute_url }}"><li>{% trans "Brouillon" %}</li></a>
<li><a href="{{ content.get_absolute_url }}">{% trans "Brouillon" %}</a></li>
{% endif %}
{% if content.sha_public == commit.hexsha %}
<a href="{{ content.get_absolute_url_online }}"><li>{% trans "Publiée" %}</li></a>
<li><a href="{{ content.get_absolute_url_online }}">{% trans "Publiée" %}</a></li>
{% endif %}
</ul>
{% endif %}
Expand Down

0 comments on commit fc2c8e1

Please sign in to comment.