Skip to content

Commit

Permalink
Closes 721; Only show Favorites in menu if not empty
Browse files Browse the repository at this point in the history
  • Loading branch information
rodrigok committed Sep 7, 2015
1 parent e34a283 commit 49d2754
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions client/views/app/sideNav/starredRooms.html
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
<template name="starredRooms">
<h3 class="{{isActive}}">{{_ "Favorites"}}</h3>
{{#if total}}
<h3 class="{{isActive}}"><i class="icon-star"></i>{{_ "Favorites"}}</h3>
<ul>
{{#each rooms}}
{{> chatRoomItem }}
{{/each}}
</ul>
{{else}}
<p class="empty">{{_ "No_favorites_yet" }}</p>
{{/if}}
</template>

0 comments on commit 49d2754

Please sign in to comment.