Skip to content

Commit

Permalink
Merge pull request #2943 from pierre-24/hotfix_date_tuto
Browse files Browse the repository at this point in the history
Correction de l'affichage pour les tutos dont la date de publication n'existe pas
  • Loading branch information
Situphen committed Jul 24, 2015
2 parents c9d1337 + 56ac2db commit 9b812d7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions templates/tutorial/includes/tutorial_item.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,8 @@
{% endcaptureas %}

{% captureas tutorial_state %}
{% if tutorial.pubdate %}
{% trans "Publié" %} {{ tutorial.pubdate|format_date }}
{% if tutorial.on_line %}
{% trans "Publié" %} {% if tutorial.pubdate %}{{ tutorial.pubdate|format_date }}{% endif %}
{% else %}
{% trans "En rédaction" %}
{% endif %}
Expand Down

0 comments on commit 9b812d7

Please sign in to comment.