summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-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>