-
-
Notifications
You must be signed in to change notification settings - Fork 7.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
stream_settings: Convert name to pills.
Convert anchor tag to pills containing an image/avatar and username within both existing and new stream subscriber member lists and group member lists using the new user_display_only_pill.hbs template. If user has long username that breaks the UI, overflow is handled with ellipsis. add a context class (panel_subscriber_member_list) to add 'padding 5px'to 'pill_value' for stream subscriber member list and group member list. To retrieve an avatar of a user add a 'img_src: people.small_avatar_url_for_person(user/person)' field in 'stream_editsubscriber.js', 'user_group_edit_members.js', 'stream_create_subscribers.js' and 'user_group_create_members.js'. Fixes: #25724.
- Loading branch information
1 parent
90cf911
commit 29ca4ba
Showing
9 changed files
with
58 additions
and
6 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
<span class="pill-container"> | ||
<a data-user-id="{{user_id}}" class="view_user_profile pill" tabindex="0"> | ||
{{#if img_src}} | ||
<img class="pill-image" src="{{img_src}}" /> | ||
{{/if}} | ||
<span class="pill-value">{{display_value}}</span> | ||
{{#if is_current_user}} <span class="my_user_status">{{t "(you)"}}</span>{{/if}} | ||
{{~#if should_add_guest_user_indicator}} <i>({{t 'guest'}})</i>{{~/if~}} | ||
{{~#if deactivated}} ({{t 'deactivated'}}){{~/if~}} | ||
{{~#if has_status~}} | ||
{{~> status_emoji status_emoji_info~}} | ||
{{~/if~}} | ||
</a> | ||
</span> |