Skip to content

Commit

Permalink
Masque les warning en beta
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Jul 27, 2014
1 parent 8746310 commit da70889
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions templates/tutorial/includes/chapter.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
{% if not chapter.type = 'MINI' %}
{% if chapter.intro and chapter.intro != "None" %}
{{ chapter.intro|emarkdown }}
{% else %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas d'introduction.
</p>
Expand Down Expand Up @@ -112,7 +112,7 @@ <h2 id="{{ extract.position_in_chapter }}-{{ extract.title|slugify }}">
{% if not chapter.type = 'MINI' %}
{% if chapter.conclu and chapter.conclu != "None" %}
{{ chapter.conclu|emarkdown }}
{% else %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas de conclusion.
</p>
Expand Down
4 changes: 2 additions & 2 deletions templates/tutorial/part/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h2>
{% block content %}
{% if part.intro and part.intro != "None" %}
{{ part.intro|emarkdown }}
{% else %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas d'introduction.
</p>
Expand Down Expand Up @@ -90,7 +90,7 @@ <h4>

{% if part.conclu and part.conclu != "None" %}
{{ part.conclu|emarkdown }}
{% else %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas de conclusion.
</p>
Expand Down
4 changes: 2 additions & 2 deletions templates/tutorial/tutorial/view.html
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ <h2 class="subtitle">
{% with tuto_version=tutorial|repo_tuto:version %}
{% if tuto_version.introduction and tuto_version.introduction != "None" %}
{{ tuto_version.introduction|emarkdown }}
{% elif not tutorial.in_beta or tutorial.sha_beta != version %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas d'introduction.
</p>
Expand Down Expand Up @@ -118,7 +118,7 @@ <h2>

{% if tuto_version.conclusion and tuto_version.conclusion != "None" %}
{{ tuto_version.conclusion|emarkdown }}
{% else %}
{% elif not tutorial.in_beta %}
<p class="ico-after warning">
Il n'y a pas de conclusion.
</p>
Expand Down

0 comments on commit da70889

Please sign in to comment.