Anders Kaseorg
2f43284dd8
user_profile_modal: Move SimpleBar back to the correct div.
...
Fixes a regression in commit 01613e71fb
(#12348 ).
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-05-20 19:25:21 -07:00
Pragati Agrawal
cdc50090b6
popovers: Hide email under hidden email-address-visibility cases.
...
In email hidden case (that is when `email_address_visibilty` is set to
everyone), for "non admins", this commit hides emails from:
- user popover
- custom profile popover
In email hidden case, for admins, email is shown in both user popovers and
custom profile popovers.
2019-05-20 15:56:21 -07:00
Anders Kaseorg
01613e71fb
ui: Replace set_up_scrollbar with data-simplebar attribute.
...
With perfectScrollbar, we needed to call a function from JavaScript to
enable a scrollbar on a new element, but simplebar has a much simpler
default API one can do by using data-simplebar attributes in the HTML.
So we can delete all the scrollbar creation/deletion code.
Signed-off-by: Anders Kaseorg <anders@zulipchat.com>
2019-05-19 18:06:38 -07:00
vinitS101
e90ed827bb
user status: Change Last seen to Last online.
...
Change "Last seen" to "Last online" in the full user profile.
2019-03-14 15:19:09 -07:00
Hemanth V. Alluri
e3aed0f7bc
custom profile fields: Markdown rendering for custom profile field values.
...
This makes it possible it include our standard markdown formatting in
one's custom profile fields, allowing for links, emphasis, emoji, etc.
Fixes #10131 .
2019-01-01 21:06:21 -08:00
Cynthia Lin
053c4a2250
popovers: Add guest avatar marker to user profile popover.
2018-12-30 11:07:00 -08:00
Yashashvi Dave
28c38a44c8
static/js/popover: Use predefine func to append user pills in field.
...
This commit remove repetitive code to append user pills in
custom field of user profile popover. And call already defined
function there.
2018-11-28 16:22:35 -08:00
Yashashvi Dave
89eebad14f
user profile: Add user type/role in user profile popover.
...
Add user type/role in user's detail profile popover.
Fixes part of #10754
2018-11-12 15:13:44 -08:00
Cynthia Lin
c0edcf6fe4
user profiles: Remove empty space under profiles with no set fields.
...
Fixes #10652 .
2018-10-14 09:37:18 -07:00
Cynthia Lin
6d0aa68591
custom profile fields: Add and restyle default user profile fields.
...
Refactor selectors to utilize SCSS features.
Fixes some issues in #10545 .
2018-10-04 17:02:09 -07:00
Cynthia Lin
e92ec362ca
popovers: Show line breaks in Long type fields in user profile popovers.
2018-08-27 17:38:15 -07:00
Yashashvi Dave
4049a08b88
user popover: Display text as link for URL custom field.
...
In user profile popover, for URL type custom field
display text as link in popover, so user can easily
click on link directly.
2018-08-27 17:26:07 -07:00
Yashashvi Dave
1c14e0166c
user profile popover: Enhance popover style.
...
This commit make changes in style of exit-sign of modal,
and also remove spacing between fields in modal.
2018-08-27 17:26:07 -07:00
Yashashvi Dave
4f9ca03c13
user profile popover: Display user pills in custom user field.
...
Display user pills instead of user names in custom user field
on user profile popover.
2018-08-21 12:10:35 -07:00
Tim Abbott
5f10fa1692
user_profile_modal: Remove profile_data conditional.
...
It's no longer possible for profile_data to be empty, and the
conditional was in the wrong place anyway.
2018-08-21 11:49:36 -07:00
Yashashvi Dave
92782e2f89
static/js/popovers.js: Modify structure of user popover template data.
...
Modify structure of template data used to render
`user_profile_modal.handlebars`.
This is preparatory commit to display user pills in user profile
popover instead of user names in user type custom fields.
2018-08-21 11:42:59 -07:00
Aditya Bansal
65eaf92acd
user_profile_modal.handlebars: Upgrade to font-awesome 4.7 icon prefixes.
2018-07-11 20:17:11 +05:30
Max Nussenbaum
ca18c635e7
User profile: Style the custom user profile fields.
...
This restyles the user profile modal so that the custom fields
look nice.
2018-06-04 16:15:24 -07:00
Vishnu Ks
7533796ea9
popover: Add an option to show user profile.
...
Fixes #8880
2018-04-23 16:56:24 -07:00