summaryrefslogtreecommitdiff
path: root/app/views/phones/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 20:42:20 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2012-12-30 20:42:20 +0100
commit0d1efdb040b1cbb9d303dcbe3002b2549601406b (patch)
tree12385e5815a89111b1c59ccb5045eada1e3373d4 /app/views/phones/show.html.haml
parented8953f05638c43d9c1e62cf3d3ff7da158f4c20 (diff)
parent1c84298030ece53b5915ccca3460c04889abaffe (diff)
Merge branch 'add_provisioning_url' into develop
Diffstat (limited to 'app/views/phones/show.html.haml')
-rw-r--r--app/views/phones/show.html.haml6
1 files changed, 6 insertions, 0 deletions
diff --git a/app/views/phones/show.html.haml b/app/views/phones/show.html.haml
index 268c469..a7ee952 100644
--- a/app/views/phones/show.html.haml
+++ b/app/views/phones/show.html.haml
@@ -29,6 +29,12 @@
%strong= t('phones.show.ip_address') + ":"
= @phone.ip_address
+- if @phone.ip_address.blank? && @phone.phone_model.manufacturer.ieee_name == 'SNOM Technology AG'
+ %p
+ Sollten Sie Ihren DHCP-Server noch nicht für das automatische Konfigurieren der GS5 Provisionierungs-URL konfiguriert haben, können Sie manuell in Ihrem Telefon die folgende Provisionierungs-URL eingeben. Das "{mac}" bitte genau so eingeben, es wird vom Telefon automatisch mit der eigenen MAC-Adresse befüllt:
+ %pre
+ = "http://#{GemeinschaftSetup.first.sip_domain.host}/settings-{mac}"
+
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @phone.phoneable, :child => @phone }
%h2= t("phones.sip_accounts.title")