Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Pleroma
pleroma-fe
Commits
4c36ac12
Commit
4c36ac12
authored
4 years ago
by
rinpatch
Browse files
Options
Downloads
Patches
Plain Diff
Add a chevron to moderation tools button to indicate it opens a menu
Closes
#1069
parent
d262f208
No related branches found
Branches containing commit
No related tags found
2 merge requests
!1386
Improve 3 column layout experiment
,
!1377
Add a chevron to moderation tools button to indicate it opens a menu
Pipeline
#35541
passed
4 years ago
Stage: lint
Stage: build
Stage: test
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/components/moderation_tools/moderation_tools.js
+5
-0
5 additions, 0 deletions
src/components/moderation_tools/moderation_tools.js
src/components/moderation_tools/moderation_tools.vue
+8
-1
8 additions, 1 deletion
src/components/moderation_tools/moderation_tools.vue
with
13 additions
and
1 deletion
src/components/moderation_tools/moderation_tools.js
+
5
−
0
View file @
4c36ac12
import
{
library
}
from
'
@fortawesome/fontawesome-svg-core
'
import
{
faChevronDown
}
from
'
@fortawesome/free-solid-svg-icons
'
import
DialogModal
from
'
../dialog_modal/dialog_modal.vue
'
import
Popover
from
'
../popover/popover.vue
'
library
.
add
(
faChevronDown
)
const
FORCE_NSFW
=
'
mrf_tag:media-force-nsfw
'
const
STRIP_MEDIA
=
'
mrf_tag:media-strip
'
const
FORCE_UNLISTED
=
'
mrf_tag:force-unlisted
'
...
...
This diff is collapsed.
Click to expand it.
src/components/moderation_tools/moderation_tools.vue
+
8
−
1
View file @
4c36ac12
...
...
@@ -124,10 +124,11 @@
</div>
<button
slot=
"trigger"
class=
"btn button-default btn-block"
class=
"btn button-default btn-block
moderation-tools-button
"
:class=
"
{ toggled }"
>
{{
$t
(
'
user_card.admin_menu.moderation
'
)
}}
<FAIcon
icon=
"chevron-down"
/>
</button>
</Popover>
<portal
to=
"modal"
>
...
...
@@ -170,4 +171,10 @@
height
:
100%
;
}
}
.moderation-tools-button
{
svg
,
i
{
font-size
:
0
.8em
;
}
}
</
style
>
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
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!
Save comment
Cancel
Please
register
or
sign in
to comment