summaryrefslogtreecommitdiff
path: root/app/views/sip_accounts/show.html.haml
diff options
context:
space:
mode:
authorPeter Kozak <spag@golwen.net>2013-02-27 06:04:50 -0500
committerPeter Kozak <spag@golwen.net>2013-02-27 06:04:50 -0500
commited0117210837dd1d0d2dbf403799b70225caf0cd (patch)
treec7f27eba275bbedf0505e9078592f562f37e2bbe /app/views/sip_accounts/show.html.haml
parent22eb173c74893114350e4b5351a58b48673f63b3 (diff)
calls views added
Diffstat (limited to 'app/views/sip_accounts/show.html.haml')
-rw-r--r--app/views/sip_accounts/show.html.haml6
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/sip_accounts/show.html.haml b/app/views/sip_accounts/show.html.haml
index 0aaf920..365aea8 100644
--- a/app/views/sip_accounts/show.html.haml
+++ b/app/views/sip_accounts/show.html.haml
@@ -94,4 +94,8 @@
- if @sip_account.softkeys.count > 0
= render "softkeys/index_core", :softkeys => @sip_account.softkeys
%br
- = render :partial => 'shared/create_link', :locals => { :parent => @sip_account, :child_class => Softkey } \ No newline at end of file
+ = render :partial => 'shared/create_link', :locals => { :parent => @sip_account, :child_class => Softkey }
+
+- if @sip_account.calls.count > 0
+ %h2= t("calls.index.page_title")
+ = render "calls/index_core", :calls => @sip_account.calls, :parent => @sip_account