added moderator display to about page

This commit is contained in:
Andreas N 2015-01-01 19:10:31 +01:00
parent 5c0fd6838f
commit d5b538461e
2 changed files with 11 additions and 0 deletions

View File

@ -57,4 +57,8 @@ body {
.j2-lh {
color: #fff;
}
.about--moderator li {
list-style: none;
}

View File

@ -32,6 +32,13 @@
.media-body
%h4.entry-text.entry-about pixeldesu
%h6.entry-subtext Frontend Design & Layout
%h3 Moderators
%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
.panel.panel-default
.panel-body
There are lies, damned lies, and then there are...