made admin listing changeable in justask.yml
This commit is contained in:
parent
7236a8c46f
commit
47cbbed719
|
@ -13,20 +13,14 @@
|
|||
= succeed '!' do
|
||||
= APP_CONFIG['site_name']
|
||||
%br/
|
||||
- APP_CONFIG['admins'].each do |adm|
|
||||
.media
|
||||
.pull-left
|
||||
%a{href: show_user_profile_path('pixeldesu')}
|
||||
%img.img-rounded.answerbox--img{src: User.find_by_screen_name('pixeldesu').profile_picture.url(:medium)}
|
||||
%a{href: show_user_profile_path(adm['screen_name'])}
|
||||
%img.img-rounded.answerbox--img{src: User.find_by_screen_name(adm['screen_name']).profile_picture.url(:medium)}
|
||||
.media-body
|
||||
%h4.entry-text.entry-about pixeldesu
|
||||
%h6.entry-subtext Frontend Design & Layout
|
||||
.media
|
||||
.pull-left
|
||||
%a{href: show_user_profile_path('Filippus')}
|
||||
%img.img-rounded.answerbox--img{src: User.find_by_screen_name('Filippus').profile_picture.url(:medium)}
|
||||
.media-body
|
||||
%h4.entry-text.entry-about Filippus
|
||||
%h6.entry-subtext Moderator Management & Support
|
||||
%h4.entry-text.entry-about= adm['about_text']
|
||||
%h6.entry-subtext= adm['subtext']
|
||||
.panel.panel-default
|
||||
.panel-body
|
||||
%h3 Moderators
|
||||
|
|
|
@ -29,3 +29,16 @@ sharing:
|
|||
|
||||
# Redis
|
||||
redis_url: "redis://localhost:6379"
|
||||
|
||||
# Site admins
|
||||
admins:
|
||||
- screen_name: 'nilsding'
|
||||
about_text: nilsding
|
||||
subtext: Backend, Server & Code
|
||||
- screen_name: 'pixeldesu'
|
||||
about_text: pixeldesu
|
||||
subtext: Frontend Design & Layout
|
||||
- screen_name: 'Filippus'
|
||||
about_text: Filippus
|
||||
subtext: Moderator Management & Support
|
||||
|
||||
|
|
Loading…
Reference in New Issue