Commit 9f652de1 authored by cynddl's avatar cynddl

Remove unwanted actions from article views

parent b570362b
......@@ -68,20 +68,31 @@
<td>{{article.und_votes.first.username}}</td>
<td class="actions-cell">
<ul class="actions-list">
{% if filter_view == 'flux' %}
<li class="actions-item-draft"><a href="#">
<i class="fa fa-chevron-right" aria-hidden="true"></i> Mettre en attente</a>
</li>
<li class="actions-item-reject"><a href="#">
<i class="fa fa-times" aria-hidden="true"></i> Rejeter</a>
</li>
{% else %}
<li class="actions-item-edit"><a href="#">
<i class="fa fa-pencil" aria-hidden="true"></i> Éditer</a>
</li>
<li class="actions-item-publish"><a href="#">
<i class="fa fa-check" aria-hidden="true"></i> Publier</a>
</li>
{% endif %}
</ul>
</td>
</tr>
{% if filter_view != 'flux' %}
<tr class="tags-row">
<td colspan="8">
<strong>Tags</strong> tags tags
</td>
</tr>
{% endif %}
{% endfor %}
</tbody>
</table>
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment