Commit 9f0d9b45 authored by cynddl's avatar cynddl
Browse files

Cosmetic changes for action links

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