Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
La Quadrature du Net
rpteam
Revue de Press
Commits
9f0d9b45
Commit
9f0d9b45
authored
Apr 29, 2017
by
cynddl
Browse files
Cosmetic changes for action links
parent
a7327547
Changes
2
Hide whitespace changes
Inline
Side-by-side
apps/rp/templates/rp/article_list.html
View file @
9f0d9b45
...
...
@@ -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>
...
...
static/src/components/table.css
View file @
9f0d9b45
...
...
@@ -60,6 +60,11 @@ table.article-table ul {
.actions-item
{
cursor
:
pointer
;
&
a
{
color
:
inherit
;
&:--enter
{
text-decoration
:
none
;
}
}
&
:--enter
{
font-weight
:
600
;
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment