Skip to content

Commit

Permalink
Correction d'incohérences sidebar article
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-D committed Jul 22, 2014
1 parent 4ca7853 commit 5ed2ee8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 19 deletions.
29 changes: 15 additions & 14 deletions templates/article/includes/sidebar_actions.part.html
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ <h3>Gestion</h3>
</li>
{% else %}
<li class="inactive">
<span>En attente de validation</span>
<span class="ico-after tick">En attente de validation</span>
</li>
{% endif %}
</ul>
Expand Down Expand Up @@ -108,18 +108,6 @@ <h3>Supprimer</h3>
</div>
{% endif %}

<div class="mobile-menu-bloc mobile-all-links mobile-show-ico" data-title="Télécharger">
<h3>Télécharger</h3>
<ul>
<li>
<a href="{% url "zds.article.views.download" %}?article={{ article.pk }}" class="ico-after download blue">
Archive
</a>
</li>
</ul>
</div>




{% if perms.article.change_article %}
Expand Down Expand Up @@ -211,4 +199,17 @@ <h3>Validation</h3>
{% endif %}
</ul>
</div>
{% endif %}
{% endif %}



<div class="mobile-menu-bloc mobile-all-links mobile-show-ico" data-title="Télécharger">
<h3>Télécharger</h3>
<ul>
<li>
<a href="{% url "zds.article.views.download" %}?article={{ article.pk }}" class="ico-after download blue">
Archive
</a>
</li>
</ul>
</div>
6 changes: 1 addition & 5 deletions templates/article/member/new.html
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,7 @@


{% block breadcrumb_base %}
{% 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 %}
<li><a href="{% url "zds.member.views.articles" %}">Mes articles</a></li>
{% endblock %}


Expand Down

0 comments on commit 5ed2ee8

Please sign in to comment.