From 4ce04ec03bc8f362d48ded43833645e7f454cb5c Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Fri, 21 Jun 2013 15:07:44 +0200 Subject: Added blind transfer functionality for the switchboard. --- app/views/switchboards/show.html.erb | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'app/views/switchboards') diff --git a/app/views/switchboards/show.html.erb b/app/views/switchboards/show.html.erb index 2a2765f..4877613 100644 --- a/app/views/switchboards/show.html.erb +++ b/app/views/switchboards/show.html.erb @@ -26,16 +26,27 @@ {{avatar_img switchboardEntry.avatar_src}}

+ {{#if switchboardEntry.name}} {{switchboardEntry.name}} + {{/if}} {{#each phoneNumber in switchboardEntry.sipAccount.phoneNumberShortList}} {{phoneNumber.number}} + + {{#if activeCalls.length}} +

+ {{#each activeCall in activeCalls}} + + {{/each}} +

+ {{/if}} {{/each}}

{{show_callstate switchboardEntry.callstate}} + {{#if switchboardEntry.sipAccount.calls.length}}

Anrufe: @@ -51,17 +62,6 @@

{{/if}} - {{#if activeCalls.length}} -

- Verbinden mit: -
- {{#each activeCall in activeCalls}} - - {{/each}} -

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