mirror of
https://github.com/Retrospring/retrospring.git
synced 2025-03-28 00:41:47 +01:00
added moderator display to about page
This commit is contained in:
parent
5c0fd6838f
commit
d5b538461e
2 changed files with 11 additions and 0 deletions
|
@ -58,3 +58,7 @@ body {
|
||||||
.j2-lh {
|
.j2-lh {
|
||||||
color: #fff;
|
color: #fff;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.about--moderator li {
|
||||||
|
list-style: none;
|
||||||
|
}
|
|
@ -32,6 +32,13 @@
|
||||||
.media-body
|
.media-body
|
||||||
%h4.entry-text.entry-about pixeldesu
|
%h4.entry-text.entry-about pixeldesu
|
||||||
%h6.entry-subtext Frontend Design & Layout
|
%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.panel-default
|
||||||
.panel-body
|
.panel-body
|
||||||
There are lies, damned lies, and then there are...
|
There are lies, damned lies, and then there are...
|
||||||
|
|
Loading…
Reference in a new issue