This repository has been archived by the owner on Aug 25, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 69
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Removed the unread message counter from the sidebar, only highlights …
…/ privmsgs are displayed. Unread info now changes the style on the link so it's noticable. Closes #20
- Loading branch information
1 parent
5850c1c
commit 19e9940
Showing
4 changed files
with
38 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,12 @@ | ||
<a {{bind-attr href=view.url title=title}}> | ||
<span {{bind-attr class=":link view.getClass"}}> | ||
{{#if highlights}}<span class="alert highlight" {{action "markAsRead" _id bubbles=false}}>{{highlights}}</span>{{/if}} | ||
{{#if unread}}<span class="alert unread" {{action "markAsRead" _id bubbles=false}}>{{unread}}</span>{{/if}} | ||
{{#if view.isPrivmsg}} | ||
{{#if unread}} | ||
<span class="alert highlight" {{action "markAsRead" _id bubbles=false}}>{{unread}}</span> | ||
{{/if}} | ||
{{else}} | ||
{{#if highlights}}<span class="alert highlight" {{action "markAsRead" _id bubbles=false}}>{{highlights}}</span>{{/if}} | ||
{{/if}} | ||
{{view.title}} | ||
</span> | ||
</a> |