Commit 9f0d9b45 authored by cynddl's avatar cynddl

Cosmetic changes for action links

parent a7327547
......@@ -119,18 +119,17 @@
<td class="actions-cell">
<ul class="actions-list">
{% if filter_view == 'flux' %}
<li class="actions-item actions-item-draft" onclick="javascript:call_recover({{article.id}})"><a href="#">
<i class="fa fa-chevron-right" aria-hidden="true"></i> Forcer</a>
</li>
<li class="actions-item actions-item-reject" onclick="javascript:call_reject({{article.id}})">
<i class="fa fa-times" aria-hidden="true"></i> Rejeter
<li class="actions-item actions-item-draft" onclick="javascript:call_recover({{article.id}})">
<i class="fa fa-fw fa-chevron-right" aria-hidden="true"></i> Forcer</a>
</li>
{% else %}
<li class="actions-item actions-item-edit"><a href="{% url 'rp:article-edit' article.id %}">
<i class="fa fa-pencil" aria-hidden="true"></i> Éditer</a>
<i class="fa fa-fw fa-pencil" aria-hidden="true"></i> Éditer</a>
</li>
<li class="actions-item actions-item-publish" onclick="javascript:call_publish({{article.id}})">
<i class="fa fa-check" aria-hidden="true"></i> Publier
{% endif %}
{% if filter_view != 'published' %}
<li class="actions-item actions-item-reject" onclick="javascript:call_reject({{article.id}})">
<i class="fa fa-fw fa-times" aria-hidden="true"></i> Rejeter
</li>
{% endif %}
</ul>
......
......@@ -60,6 +60,11 @@ table.article-table ul {
.actions-item {
cursor: pointer;
& a {
color: inherit;
&:--enter { text-decoration: none; }
}
&:--enter {
font-weight: 600;
}
......
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