Commit 71fd79c8 authored by Camil Staps's avatar Camil Staps

4-column table layout for starrers view

parent 1171517a
...@@ -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;
}
...@@ -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/usercell', collection: @starrers, as: :user
- 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")
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment