diff options
author | Peter Kozak <spag@golwen.net> | 2013-06-27 14:13:35 +0200 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-06-27 14:13:35 +0200 |
commit | ce6407538090b2f67a5c131f7d12253d1c02f860 (patch) | |
tree | 5bbf47efc274ddf1ce62db4f21b8a947c561a602 /app/views | |
parent | a5916697ce2ab1f74833d19a36dbb0f71c7ed7f5 (diff) | |
parent | 29213546a4468aa4a853dee8091bbd556f7d0f51 (diff) |
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views')
-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}} |