Skip to content

Commit

Permalink
Correction incohérence Article/Mes articles
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Jul 22, 2014
1 parent 88d7f5e commit 6d3040b
Show file tree
Hide file tree
Showing 6 changed files with 39 additions and 18 deletions.
8 changes: 6 additions & 2 deletions templates/article/member/edit.html
Expand Up @@ -5,13 +5,17 @@


{% block title_base %}
• Mes articles
• Articles
{% endblock %}



{% block breadcrumb_base %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% if user in tutorial.authors.all %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% else %}
<li><a href="{% url "zds.article.views.index" %}">Articles</a></li>
{% endif %}
{% endblock %}


Expand Down
8 changes: 6 additions & 2 deletions templates/article/member/index.html
Expand Up @@ -3,13 +3,17 @@


{% block title_base %}
&bull; Mes articles
&bull; Articles
{% endblock %}



{% block breadcrumb_base %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% if user in tutorial.authors.all %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% else %}
<li><a href="{% url "zds.article.views.index" %}">Articles</a></li>
{% endif %}
{% endblock %}


Expand Down
8 changes: 6 additions & 2 deletions templates/article/member/new.html
Expand Up @@ -5,13 +5,17 @@


{% block title_base %}
&bull; Mes articles
&bull; Articles
{% endblock %}



{% block breadcrumb_base %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% if user in tutorial.authors.all %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% else %}
<li><a href="{% url "zds.article.views.index" %}">Articles</a></li>
{% endif %}
{% endblock %}


Expand Down
8 changes: 6 additions & 2 deletions templates/article/member/view.html
Expand Up @@ -7,13 +7,17 @@


{% block title_base %}
&bull; Mes articles
&bull; Articles
{% endblock %}



{% block breadcrumb_base %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% if user in tutorial.authors.all %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% else %}
<li><a href="{% url "zds.article.views.index" %}">Articles</a></li>
{% endif %}
{% endblock %}


Expand Down
2 changes: 1 addition & 1 deletion templates/tutorial/base.html
Expand Up @@ -4,7 +4,7 @@


{% block title_base %}
&bull; Mes tutoriels
&bull; Tutoriels
{% endblock %}


Expand Down
23 changes: 14 additions & 9 deletions templates/tutorial/tutorial/view.html
Expand Up @@ -43,16 +43,21 @@ <h2 class="subtitle">
{% include 'tutorial/includes/tags_authors.part.html' with tutorial=tutorial %}
{% endif %}

{% if perms.tutorial.change_tutorial and tutorial.in_validation and validation.comment_authors %}
<div class="content-wrapper comment-author">
<p>
Le message suivant a été laissé à destination des validateurs :
</p>
{% if perms.tutorial.change_tutorial and tutorial.sha_validation %}
<p class="content-wrapper alert-box info">
Ce tutoriel est en attente de validation
</p>
{% if validation.comment_authors %}
<div class="content-wrapper comment-author">
<p>
Le message suivant a été laissé à destination des validateurs :
</p>

<blockquote>
{{ validation.comment_authors }}
</blockquote>
</div>
<blockquote>
{{ validation.comment_authors }}
</blockquote>
</div>
{% endif %}
{% endif %}

{% if tutorial.in_beta and tutorial.sha_beta == version %}
Expand Down

0 comments on commit 6d3040b

Please sign in to comment.