mirror of
https://github.com/puppetlabs/vmpooler.git
synced 2026-01-26 10:08:40 -05:00
Configurable site name in dashboard
This commit is contained in:
parent
1f76308f44
commit
f8deb98820
2 changed files with 4 additions and 2 deletions
|
|
@ -28,7 +28,9 @@ $redis = Redis.new
|
|||
|
||||
# Sinatra!
|
||||
get '/' do
|
||||
erb :dashboard
|
||||
erb :dashboard, locals: {
|
||||
site_name: config[:config]['site_name'] || '<b>vmware-host-pooler</b>',
|
||||
}
|
||||
end
|
||||
|
||||
get '/dashboard/stats/vcloud/numbers' do
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue