summaryrefslogtreecommitdiff
path: root/app/views/phones/show.html.haml
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-01-13 17:23:47 +0100
committerspag <spag@golwen.net>2013-01-13 17:23:47 +0100
commit0b717b40b596fcd6ba238b2b3066b33a91289fdf (patch)
tree5b225d4085ac89532413ed224438d3ba187fda5f /app/views/phones/show.html.haml
parent0d5114566e73c44799eac83d46f159cd979f4fcc (diff)
parent9567f239586f253002dea0ed654b7bd18a15e572 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/phones/show.html.haml')
-rw-r--r--app/views/phones/show.html.haml2
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