-
Notifications
You must be signed in to change notification settings - Fork 11k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Closes #625: Filter and sorts direct messages and private groups.
- Loading branch information
1 parent
b79a08a
commit ca8d55e
Showing
16 changed files
with
342 additions
and
22 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
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
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
53 changes: 53 additions & 0 deletions
53
packages/rocketchat-ui-sidenav/side-nav/listDirectMessagesFlex.html
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 |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<template name="listDirectMessagesFlex"> | ||
<header> | ||
<div> | ||
<h4>{{_ "Direct_Messages"}}</h4> | ||
</div> | ||
</header> | ||
<div class="content"> | ||
<div class="wrapper"> | ||
<div class="flex-control"> | ||
<div class="search"> | ||
<form class="search-form" role="form"> | ||
<div class="input-line search"> | ||
<input type="text" id="channel-search" class="search" placeholder="{{_ "Search_Direct_Messages"}}" autocomplete="off" /> | ||
<i class="icon-right-open-small"></i> | ||
</div> | ||
<div class="input-line search"> | ||
<select class="c-select" id="sort"> | ||
<option value="name" selected="{{sortSelected 'name'}}">{{_ "Name"}}</option> | ||
<option value="ls" selected="{{sortSelected 'ls'}}">{{_ "Last_seen"}}</option> | ||
</select> | ||
<i class="icon-sort-alt-up"></i> | ||
</div> | ||
</form> | ||
</div> | ||
</div> | ||
<h4>{{_ "List_of_Direct_Messages"}}</h4> | ||
<ul> | ||
{{#each rooms}} | ||
<li> | ||
<a href="{{pathFor 'direct' username=name}}" class="channel-link"> | ||
<i class="icon-at {{userStatus}}"></i> | ||
{{name}} | ||
<span class='opt fixed'> | ||
{{#if hidden}} | ||
<i class="icon-eye-off" title="{{_ "Hidden"}}" aria-label="{{_ "Hidden"}}"></i> | ||
{{/if}} | ||
</span> | ||
</a> | ||
</li> | ||
{{/each}} | ||
{{#if hasMore}} | ||
<li class="load-more"> | ||
{{#if Template.subscriptionsReady}} | ||
<a href="">{{_ "Has_more"}}...</a> | ||
{{else}} | ||
<div class="load-more-loading">{{_ "Loading..."}}</div> | ||
{{/if}} | ||
</li> | ||
{{/if}} | ||
</ul> | ||
</div> | ||
</div> | ||
</template> |
Oops, something went wrong.