update moderator display

This commit is contained in:
Andreas N 2015-02-12 15:57:05 +01:00
parent 87cfff8809
commit cb13903493
2 changed files with 10 additions and 4 deletions

View File

@ -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;
}

View File

@ -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