summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
Diffstat (limited to 'app')
-rw-r--r--app/views/sip_accounts/show.html.haml8
1 files changed, 4 insertions, 4 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml
index c90bb81..65c0df4 100644
--- a/app/views/sip_accounts/show.html.haml
+++ b/app/views/sip_accounts/show.html.haml
@@ -46,14 +46,14 @@
%tr
%td
%strong= t('sip_accounts.show.registration') + ":"
- %td
- = "#{@sip_account.registration.network_ip}:#{@sip_account.registration.network_port}"
+ %td
+ = "#{@sip_account.registration.network_ip}:#{@sip_account.registration.network_port}"
- if @sip_account.registration.try(:expires)
%tr
%td
%strong= t('sip_accounts.show.expires') + ":"
- %td
- = "#{@sip_account.registration.try(:expires) - Time.now.to_i} s"
+ %td
+ = "#{@sip_account.registration.try(:expires) - Time.now.to_i} s"
= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @sip_account.sip_accountable, :child => @sip_account }