From 14da4be11fe13d4fcd55143c39b73c0d086b901b Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Tue, 25 Jun 2013 13:09:07 +0200 Subject: Show transfer buttons only for switchable incoming calls. --- app/views/switchboards/show.html.erb | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'app/views/switchboards/show.html.erb') diff --git a/app/views/switchboards/show.html.erb b/app/views/switchboards/show.html.erb index f3304cf..69b0ed6 100644 --- a/app/views/switchboards/show.html.erb +++ b/app/views/switchboards/show.html.erb @@ -46,11 +46,11 @@ {{phoneNumber.number}} - {{#if activeCalls.length}} + {{#if dispatchableIncomingCalls.length}}

- {{#each activeCall in activeCalls}} - - + {{#each dispatchableIncomingCall in dispatchableIncomingCalls}} + + {{/each}}

{{/if}} -- cgit v1.2.3