diff options
Diffstat (limited to 'app/views/switchboards/show.html.erb')
-rw-r--r-- | app/views/switchboards/show.html.erb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/app/views/switchboards/show.html.erb b/app/views/switchboards/show.html.erb index 61adde7..3bc4da4 100644 --- a/app/views/switchboards/show.html.erb +++ b/app/views/switchboards/show.html.erb @@ -26,12 +26,15 @@ {{/each}} {{/if}} + {{#if switchboardEntrys.length}} <ul class="thumbnails"> {{#each switchboardEntry in switchboardEntrys}} <li class="span2"> <div class="thumbnail"> - {{avatar_img switchboardEntry.avatar_src}} + {{#if switchboardEntry.switchboard.show_avatars}} + {{avatar_img switchboardEntry.avatar_src}} + {{/if}} <small> <p></p> {{#if switchboardEntry.name}} |