mirror of
https://gitlab.archlinux.org/archlinux/aurweb.git
synced 2025-02-03 10:43:03 +01:00
Add comment undeletion functionality
Only Developers and Trusted Users can undelete comments. Signed-off-by: Marcel Korpel <marcel.korpel@gmail.com> Signed-off-by: Lukas Fleischer <lfleischer@archlinux.org>
This commit is contained in:
parent
e9fe1a9eb1
commit
bd85441cf6
8 changed files with 75 additions and 7 deletions
|
@ -101,7 +101,7 @@
|
|||
color: #999;
|
||||
}
|
||||
|
||||
.delete-comment-form, .pin-comment-form, .edit-comment {
|
||||
.delete-comment-form, .undelete-comment-form, .pin-comment-form, .edit-comment {
|
||||
float: right;
|
||||
margin-left: 8px;
|
||||
}
|
||||
|
@ -112,13 +112,13 @@
|
|||
top: 1px;
|
||||
}
|
||||
|
||||
.delete-comment, .edit-comment, .pin-comment {
|
||||
.delete-comment, .undelete-comment, .edit-comment, .pin-comment {
|
||||
-webkit-filter: grayscale(100%);
|
||||
filter: grayscale(100%);
|
||||
opacity: 0.6;
|
||||
}
|
||||
|
||||
.delete-comment:hover, .edit-comment:hover, .pin-comment:hover {
|
||||
.delete-comment:hover, .undelete-comment:hover, .edit-comment:hover, .pin-comment:hover {
|
||||
-webkit-filter: none;
|
||||
filter: none;
|
||||
opacity: 1;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue