Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
b5bc898f
Commit
b5bc898f
authored
Apr 22, 2021
by
Marvin Karegyeya
Committed by
Nathan Friend
Apr 22, 2021
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Externalize strings in users/projects.html.haml
parent
97ccd117
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
22 additions
and
5 deletions
+22
-5
app/views/admin/users/projects.html.haml
app/views/admin/users/projects.html.haml
+5
-5
changelogs/unreleased/Externalize-strings-in-projects-hmtl-haml.yml
.../unreleased/Externalize-strings-in-projects-hmtl-haml.yml
+5
-0
locale/gitlab.pot
locale/gitlab.pot
+12
-0
No files found.
app/views/admin/users/projects.html.haml
View file @
b5bc898f
...
...
@@ -5,7 +5,7 @@
-
if
@user
.
groups
.
any?
.card
.card-header
Group projects
.card-header
=
_
(
'Group projects'
)
%ul
.hover-list
-
@user
.
group_members
.
includes
(
:source
).
each
do
|
group_member
|
# rubocop: disable CodeReuse/ActiveRecord
-
group
=
group_member
.
group
...
...
@@ -24,12 +24,12 @@
-
if
@personal_projects
.
present?
=
render
'admin/users/projects'
,
projects:
@personal_projects
-
else
.nothing-here-block
This user has no personal projects.
.nothing-here-block
=
_
(
'This user has no personal projects.'
)
.col-md-6
.card
.card-header
Joined projects (
#{
@joined_projects
.
count
}
)
.card-header
=
_
(
'Joined projects (%{projects_count})'
)
%
{
projects_count:
@joined_projects
.
count
}
%ul
.hover-list
-
@joined_projects
.
sort_by
(
&
:full_name
).
each
do
|
project
|
-
member
=
project
.
team
.
find_member
(
@user
.
id
)
...
...
@@ -41,10 +41,10 @@
-
if
member
.float-right
-
if
member
.
owner?
%span
.light
Owner
%span
.light
=
_
(
'Owner'
)
-
else
%span
.light.vertical-align-middle
=
member
.
human_access
-
if
member
.
respond_to?
:project
=
link_to
project_project_member_path
(
project
,
member
),
data:
{
confirm:
remove_member_message
(
member
)
},
remote:
true
,
method: :delete
,
class:
"btn btn-sm btn-danger gl-button btn-icon gl-ml-3"
,
title:
'Remove user from project'
do
=
link_to
project_project_member_path
(
project
,
member
),
data:
{
confirm:
remove_member_message
(
member
)
},
remote:
true
,
method: :delete
,
class:
"btn btn-sm btn-danger gl-button btn-icon gl-ml-3"
,
title:
_
(
'Remove user from project'
)
do
=
sprite_icon
(
'close'
,
size:
16
,
css_class:
'gl-icon'
)
changelogs/unreleased/Externalize-strings-in-projects-hmtl-haml.yml
0 → 100644
View file @
b5bc898f
---
title
:
Externalize strings in users/projects.html.haml
merge_request
:
58122
author
:
nuwe1
type
:
other
locale/gitlab.pot
View file @
b5bc898f
...
...
@@ -15316,6 +15316,9 @@ msgstr ""
msgid "Group project URLs are prefixed with the group namespace"
msgstr ""
msgid "Group projects"
msgstr ""
msgid "Group requires separate account"
msgstr ""
...
...
@@ -18400,6 +18403,9 @@ msgstr ""
msgid "Joined %{user_created_time}"
msgstr ""
msgid "Joined projects (%{projects_count})"
msgstr ""
msgid "Jul"
msgstr ""
...
...
@@ -26556,6 +26562,9 @@ msgstr ""
msgid "Remove user from group"
msgstr ""
msgid "Remove user from project"
msgstr ""
msgid "Removed"
msgstr ""
...
...
@@ -32535,6 +32544,9 @@ msgstr ""
msgid "This user has no identities"
msgstr ""
msgid "This user has no personal projects."
msgstr ""
msgid "This user has previously committed to the %{name} project."
msgstr ""
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a 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