Use tile avatars for user/group show pages
This commit is contained in:
parent
31245a40c1
commit
78d7c5087b
3 changed files with 6 additions and 2 deletions
|
@ -15,6 +15,10 @@
|
||||||
&.s24 { margin-right: 4px; }
|
&.s24 { margin-right: 4px; }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&.avatar-tile {
|
||||||
|
@include border-radius(0px);
|
||||||
|
}
|
||||||
|
|
||||||
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
|
&.s16 { width: 16px; height: 16px; margin-right: 6px; }
|
||||||
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
|
&.s24 { width: 24px; height: 24px; margin-right: 8px; }
|
||||||
&.s26 { width: 26px; height: 26px; margin-right: 8px; }
|
&.s26 { width: 26px; height: 26px; margin-right: 8px; }
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
.dashboard
|
.dashboard
|
||||||
%div
|
%div
|
||||||
= image_tag group_icon(@group.path), class: "avatar s90"
|
= image_tag group_icon(@group.path), class: "avatar avatar-tile s90"
|
||||||
.clearfix
|
.clearfix
|
||||||
%h2
|
%h2
|
||||||
= @group.name
|
= @group.name
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
.row
|
.row
|
||||||
.col-md-8
|
.col-md-8
|
||||||
%h3.page-title
|
%h3.page-title
|
||||||
= image_tag avatar_icon(@user.email, 90), class: "avatar s90", alt: ''
|
= image_tag avatar_icon(@user.email, 90), class: "avatar avatar-tile s90", alt: ''
|
||||||
= @user.name
|
= @user.name
|
||||||
- if @user == current_user
|
- if @user == current_user
|
||||||
.pull-right
|
.pull-right
|
||||||
|
|
Loading…
Reference in a new issue