summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 19:50:38 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 19:50:38 +0100
commitbb3d50c173a4dc0f88f102582eb107782c50858d (patch)
treeca7f7c1e5f2cf62d53d503271831becbe647b2f4 /app/views
parentf03fadb2bffe54c01a5bba5dbac5f9c2e9d099c1 (diff)
HTML bugfix
Diffstat (limited to 'app/views')
-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 }