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
71fd79c8
Commit
71fd79c8
authored
Jan 26, 2019
by
Camil Staps
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
4-column table layout for starrers view
parent
1171517a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
2 deletions
+19
-2
app/assets/stylesheets/pages/users.scss
app/assets/stylesheets/pages/users.scss
+5
-0
app/views/projects/starrers/index.html.haml
app/views/projects/starrers/index.html.haml
+2
-2
app/views/shared/users/_usercell.html.haml
app/views/shared/users/_usercell.html.haml
+12
-0
No files found.
app/assets/stylesheets/pages/users.scss
View file @
71fd79c8
...
@@ -94,3 +94,8 @@
...
@@ -94,3 +94,8 @@
flex
:
1
;
flex
:
1
;
}
}
}
}
.card-body
.user
{
color
:
$gl-text-color
;
font-weight
:
$gl-font-weight-bold
;
}
app/views/projects/starrers/index.html.haml
View file @
71fd79c8
...
@@ -21,5 +21,5 @@
...
@@ -21,5 +21,5 @@
%li
%li
=
link_to
filter_user_path
(
sort:
value
),
class:
(
"is-active"
if
@sort
==
value
)
do
=
link_to
filter_user_path
(
sort:
value
),
class:
(
"is-active"
if
@sort
==
value
)
do
=
title
=
title
%ul
.content-list.users-list.qa-users-list
.row.prepend-top-10
=
render
partial:
'shared/users/user'
,
collection:
@starrers
,
as: :user
=
render
partial:
'shared/users/user
cell
'
,
collection:
@starrers
,
as: :user
app/views/shared/users/_usercell.html.haml
0 → 100644
View file @
71fd79c8
-
user
=
local_assigns
.
fetch
(
:user
)
.col-lg-3.col-md-4.col-sm-12
.card
.card-body
=
image_tag
avatar_icon_for_user
(
user
,
40
),
class:
"avatar s40"
,
alt:
''
.block-truncated
=
link_to
user
.
name
,
user_path
(
user
),
class:
'user js-user-link'
,
data:
{
user_id:
user
.
id
}
%span
.cgray
=
user
.
to_reference
-
if
user
==
current_user
%span
.badge.badge-success.prepend-left-5
=
_
(
"It's you"
)
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