update moderator display
This commit is contained in:
parent
87cfff8809
commit
cb13903493
|
@ -68,6 +68,14 @@ body {
|
|||
list-style: none;
|
||||
}
|
||||
|
||||
.about--moderator a {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.about--moderator a:hover {
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.j2-up {
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
|
|
@ -42,10 +42,8 @@
|
|||
that look after you!
|
||||
%ul.about--moderator
|
||||
- User.where(moderator: true).each do |mod|
|
||||
%li
|
||||
%a{href: show_user_profile_path(mod.screen_name)}
|
||||
%img.answerbox--img-small{src: User.find_by_screen_name(mod.screen_name).profile_picture.url(:medium)}
|
||||
= mod.screen_name
|
||||
%a{href: show_user_profile_path(mod.screen_name), title: mod.screen_name, data: { toggle: :tooltip, placement: :top }}
|
||||
%img.img-rounded.answerbox--img-small{src: mod.profile_picture.url(:small)}
|
||||
.col-sm-4
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
|
|
Loading…
Reference in New Issue