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
474e4fd9
Commit
474e4fd9
authored
May 24, 2018
by
Annabel Dunstone Gray
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix admin user projects table
parent
cbbe6d5d
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
app/assets/stylesheets/framework/lists.scss
app/assets/stylesheets/framework/lists.scss
+1
-1
app/views/admin/users/projects.html.haml
app/views/admin/users/projects.html.haml
+2
-2
No files found.
app/assets/stylesheets/framework/lists.scss
View file @
474e4fd9
...
...
@@ -2,7 +2,7 @@
* Well styled list
*
*/
.card
.card
-body-list
{
.card-body-list
{
position
:
relative
;
margin
:
0
;
padding
:
0
;
...
...
app/views/admin/users/projects.html.haml
View file @
474e4fd9
...
...
@@ -4,7 +4,7 @@
-
if
@user
.
groups
.
any?
.card
.card-header
Group projects
%ul
.
well
-list
%ul
.
card-body
-list
-
@user
.
group_members
.
includes
(
:source
).
each
do
|
group_member
|
-
group
=
group_member
.
group
%li
.group_member
...
...
@@ -28,7 +28,7 @@
.col-md-6
.card
.card-header
Joined projects (
#{
@joined_projects
.
count
}
)
%ul
.
well
-list
%ul
.
card-body
-list
-
@joined_projects
.
sort_by
(
&
:full_name
).
each
do
|
project
|
-
member
=
project
.
team
.
find_member
(
@user
.
id
)
%li
.project_member
...
...
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