summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 16:18:24 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-02-26 16:18:24 +0100
commit390fbe398bbf7e485d2a9960a62e60e4083fd1df (patch)
tree8779ba4653c1f98c89932e091f742dc2a798f328 /app/views
parentab2bf212ed91b1e9359f026ef8775de2238a49be (diff)
parent0399b856c75b842f43bc5380f9c19a64c6418f11 (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views')
-rw-r--r--app/views/sip_accounts/show.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml
index ede5150..12e54c3 100644
--- a/app/views/sip_accounts/show.html.haml
+++ b/app/views/sip_accounts/show.html.haml
@@ -61,6 +61,10 @@
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @sip_account.sip_accountable, :child => @sip_account }
%p
+ %strong= t('sip_accounts.show.tel_protocol') + ':'
+ %a{:href => '', :onclick => "navigator.registerProtocolHandler(\"tel\", \"#{@register_tel_protocol}\", \"#{@sip_account.to_s}\");" }= t('sip_accounts.show.register_tel_protocol')
+
+%p
%strong= t('ringtones.name') + ':'
- if @sip_account.ringtones.count > 0
= link_to @sip_account.ringtones.first, sip_account_ringtone_path(@sip_account, @sip_account.ringtones.first)