Make action names to block and hide more clear

The `hide` action was calling the `block` method while the `soft_block`
action was calling the `hide` method.

Combined with the fact that we also have a `block` permission which is
used in `ModerateActions` the logic was hard to follow.
This commit is contained in:
Javi Martín
2021-12-02 03:02:37 +01:00
parent cac24b0159
commit 021fef07b6
18 changed files with 46 additions and 50 deletions

View File

@@ -8,11 +8,11 @@
justify-content: flex-end;
}
.soft-block-link {
.hide-link {
@include hollow-button($color-warning);
}
.hide-link {
.block-link {
@include hollow-button($alert-color);
}
}