diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 11:53:21 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-12 11:53:21 +0100 |
commit | ec342d3d91d2cfa8c210722354353cfe8a90a8bc (patch) | |
tree | fa554d5db15f60abafe0e3da806da756114e5e4b /app/views/phones/show.html.haml | |
parent | 2e3bddd415f03aa15cd2759d7c18f64d5545ea80 (diff) |
Add PROVISIONING_KEY_LENGTH as a GsParameter value. #73
Diffstat (limited to 'app/views/phones/show.html.haml')
-rw-r--r-- | app/views/phones/show.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml index f20facd..0e0dad5 100644 --- a/app/views/phones/show.html.haml +++ b/app/views/phones/show.html.haml @@ -21,7 +21,7 @@ %strong= t('phones.show.nightly_reboot') + ":" = @phone.nightly_reboot -- if defined? PROVISIONING_KEY_LENGTH && PROVISIONING_KEY_LENGTH > 0 +- if !GsParameter.get('PROVISIONING_KEY_LENGTH').nil? && GsParameter.get('PROVISIONING_KEY_LENGTH') > 0 %p %strong= t('phones.show.provisioning_key_active') + ":" = @phone.provisioning_key_active |