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; list-style: none;
} }
.about--moderator a {
text-decoration: none;
}
.about--moderator a:hover {
text-decoration: none;
}
.j2-up { .j2-up {
text-transform: uppercase; text-transform: uppercase;
} }

View File

@ -42,10 +42,8 @@
that look after you! that look after you!
%ul.about--moderator %ul.about--moderator
- User.where(moderator: true).each do |mod| - User.where(moderator: true).each do |mod|
%li %a{href: show_user_profile_path(mod.screen_name), title: mod.screen_name, data: { toggle: :tooltip, placement: :top }}
%a{href: show_user_profile_path(mod.screen_name)} %img.img-rounded.answerbox--img-small{src: mod.profile_picture.url(:small)}
%img.answerbox--img-small{src: User.find_by_screen_name(mod.screen_name).profile_picture.url(:medium)}
= mod.screen_name
.col-sm-4 .col-sm-4
.panel.panel-default .panel.panel-default
.panel-body .panel-body