Skip to content

Commit

Permalink
Fait reaparaitre l'introduction et la conclusion
Browse files Browse the repository at this point in the history
(... D'un chapitre d'un big-tutoriel)
  • Loading branch information
pierre-24 committed Jan 29, 2015
1 parent c57b65a commit c51e262
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 c51e262

Please sign in to comment.