diff options
author | Mario Vavti <mario@mariovavti.com> | 2016-04-04 10:37:07 +0200 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2016-04-04 10:37:07 +0200 |
commit | bba34a7a8e5b62017d917808d50165cfd9f3d2e7 (patch) | |
tree | 57c0853686b8be60904f3d60f18f24562fc12416 /view | |
parent | 9b9f29a0b2182cd17596c7f1ca4f65204e077b3d (diff) | |
download | volse-hubzilla-bba34a7a8e5b62017d917808d50165cfd9f3d2e7.tar.gz volse-hubzilla-bba34a7a8e5b62017d917808d50165cfd9f3d2e7.tar.bz2 volse-hubzilla-bba34a7a8e5b62017d917808d50165cfd9f3d2e7.zip |
do not use dropdown class if there is nothing to dropdown
Diffstat (limited to 'view')
-rw-r--r-- | view/tpl/chatrooms.tpl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/view/tpl/chatrooms.tpl b/view/tpl/chatrooms.tpl index de8cdce7c..d35148f7c 100644 --- a/view/tpl/chatrooms.tpl +++ b/view/tpl/chatrooms.tpl @@ -21,7 +21,7 @@ <tr class="chatroom-index-row"> <td><a href="{{$baseurl}}/chat/{{$nickname}}/{{$room.cr_id}}">{{$room.cr_name}}</a></td> <td>{{$room.cr_expire}} min</td> - <td class="chatrooms-index-tool dropdown pull-right"> + <td class="chatrooms-index-tool{{if $room.allow_cid || $room.allow_gid || $room.deny_cid || $room.deny_gid}} dropdown pull-right{{/if}}"> {{if $room.allow_cid || $room.allow_gid || $room.deny_cid || $room.deny_gid}} <i class="icon-lock lockview dropdown-toggle" data-toggle="dropdown" onclick="lockview('chatroom',{{$room.cr_id}});"></i> <ul id="panel-{{$room.cr_id}}" class="lockview-panel dropdown-menu"></ul> |