summaryrefslogtreecommitdiff
path: root/app/views/switchboards
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:08:19 +0200
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-04-03 22:09:33 +0200
commitcea2cc3c1cc1e48fc4600c698d52dfda2bde4505 (patch)
treee216a9634c31047e8908a882aed9ff2545ed99e6 /app/views/switchboards
parent64653a9149eca977c16233abb0a472730b94a464 (diff)
Massive changes to the switchboard.
Diffstat (limited to 'app/views/switchboards')
-rw-r--r--app/views/switchboards/show.html.erb20
1 files changed, 9 insertions, 11 deletions
diff --git a/app/views/switchboards/show.html.erb b/app/views/switchboards/show.html.erb
index 87bb551..1fd9d9a 100644
--- a/app/views/switchboards/show.html.erb
+++ b/app/views/switchboards/show.html.erb
@@ -22,20 +22,18 @@
{{#each switchboardEntry in switchboardEntrys}}
<li class="span2">
<div class="thumbnail">
- <a class="thumbnail" href="/tenants/2/users/2">
- <img alt="User-male-16x" class="img-rounded" src="/assets/icons/user-male-16x.png" style="width: 100px;">
- </a>
+ {{avatar_img switchboardEntry.avatar_src}}
<p>
<small>
- {{switchboardEntry.name}}
- <br>
- <span class="label">
- 33
- </span>
+ {{switchboardEntry.name}}<br>
+
+ {{#each phoneNumber in switchboardEntry.sipAccount.phoneNumbers}}
+ <span class="label">
+ {{phoneNumber.number}}
+ </span>
+ {{/each}}
<br>
- <span class="label label-inverse">
- <i class="icon-ban-circle icon-white"></i>
- </span>
+ {{show_callstate switchboardEntry.callstate}}
</small>
</p>
</div>