diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-28 11:09:39 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-28 11:09:39 +0100 |
commit | bcdd0a3584f23438257619ee4081949c1e653c91 (patch) | |
tree | 3dbdf93b00b39ab77ff520fe68f05847d59e46bb /app/views/sip_accounts/show.html.haml | |
parent | cdde455a50df5de70ee3d84ce66733e8769db05f (diff) | |
parent | 553115fd50ef3c35d961fa98abfd593386da5c94 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/sip_accounts/show.html.haml')
-rw-r--r-- | app/views/sip_accounts/show.html.haml | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml index c21b3f4..72e10df 100644 --- a/app/views/sip_accounts/show.html.haml +++ b/app/views/sip_accounts/show.html.haml @@ -55,6 +55,13 @@ %strong= t('sip_accounts.show.expires') + ":" %td = "#{@sip_account.registration.try(:expires) - Time.now.to_i} s" + - if @sip_account.registration.try(:user_agent) + %tr + %td + %strong= t('sip_accounts.show.user_agent') + ":" + %td + = @sip_account.registration.try(:user_agent) + = render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @sip_account.sip_accountable, :child => @sip_account } |