Skip to content

Commit

Permalink
Merge pull request #2181 from pierre-24/hotfix_2141_intro_and_conclu
Browse files Browse the repository at this point in the history
[Hotfix v1.5] Fait réaparaitre l'introduction et la conclusion
  • Loading branch information
Eskimon committed Jan 29, 2015
2 parents 2eeddd4 + c51e262 commit 67e1eef
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions templates/tutorial/includes/chapter_online.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@


{% with extracts=chapter.extracts %}
{% if not chapter.type = 'MINI' %}
{% if not chapter.intro and chapter.intro = 'None' %}
{% if chapter.type != 'MINI' %}
{% if chapter.intro %}
{{ chapter.intro|safe }}
{% endif %}
{% endif %}
Expand Down Expand Up @@ -32,8 +32,8 @@ <h2 id="{{ extract.position_in_chapter }}-{{ extract.title|slugify }}">
{% endif %}
{% endfor %}

{% if not chapter.type = 'MINI' %}
{% if chapter.conclu%}
{% if chapter.type != 'MINI' %}
{% if chapter.conclu %}
{{ chapter.conclu|safe }}
{% endif %}
{% endif %}
Expand Down

0 comments on commit 67e1eef

Please sign in to comment.