Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
P
pleroma-fe
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
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
Ilja
pleroma-fe
Commits
5e7aa36f
Commit
5e7aa36f
authored
3 years ago
by
Ilja
Browse files
Options
Downloads
Patches
Plain Diff
Add "Deactivated" label to user card for deactiveted users
parent
a20f1794
No related branches found
No related tags found
No related merge requests found
Pipeline
#38257
passed
3 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/user_card/user_card.vue
+6
-0
6 additions, 0 deletions
src/components/user_card/user_card.vue
src/i18n/en.json
+1
-0
1 addition, 0 deletions
src/i18n/en.json
with
7 additions
and
0 deletions
src/components/user_card/user_card.vue
+
6
−
0
View file @
5e7aa36f
...
...
@@ -82,6 +82,12 @@
@
{{
user
.
screen_name_ui
}}
</router-link>
<template
v-if=
"!hideBio"
>
<span
v-if=
"user.deactivated"
class=
"alert user-role"
>
{{
$t
(
'
user_card.deactivated
'
)
}}
</span>
<span
v-if=
"!!visibleRole"
class=
"alert user-role"
...
...
This diff is collapsed.
Click to expand it.
src/i18n/en.json
+
1
−
0
View file @
5e7aa36f
...
...
@@ -727,6 +727,7 @@
"approve"
:
"Approve"
,
"block"
:
"Block"
,
"blocked"
:
"Blocked!"
,
"deactivated"
:
"Deactivated"
,
"deny"
:
"Deny"
,
"edit_profile"
:
"Edit profile"
,
"favorites"
:
"Favorites"
,
...
...
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