From bb3d50c173a4dc0f88f102582eb107782c50858d Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sat, 26 Jan 2013 19:50:38 +0100 Subject: HTML bugfix --- app/views/sip_accounts/show.html.haml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views') 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 } -- cgit v1.2.3