diff options
Diffstat (limited to 'templates/includes/js/browser-item.html')
-rw-r--r-- | templates/includes/js/browser-item.html | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/templates/includes/js/browser-item.html b/templates/includes/js/browser-item.html index 456a4a9..6c6ba2b 100644 --- a/templates/includes/js/browser-item.html +++ b/templates/includes/js/browser-item.html @@ -1,7 +1,12 @@ <script type="text/x-handlebars-template" id="template-room-browser-item"> <li class="lcb-rooms-list-item" data-id="{{id}}"> <div class="lcb-rooms-list-item-top"> - <a class="lcb-rooms-list-item-name" href="#!/room/{{id}}">{{name}}</a> + {{#if hasPassword}} + <span class="lcb-rooms-list-item-password fa fa-lock"></span> + <a class="lcb-rooms-list-item-name" href="#!/room/{{id}}">{{name}}</a> + {{else}} + <a class="lcb-rooms-list-item-name" href="#!/room/{{id}}">{{name}}</a> + {{/if}} <span class="lcb-rooms-list-item-slug">#{{slug}}</span> </div> <div class="lcb-rooms-list-item-description">{{description}}</div> |