mirror of
https://github.com/discourse/discourse.git
synced 2024-11-25 18:03:43 +08:00
FEATURE: Improve avatar education link (#7240)
* Make profile_path more direct to setting * Add id to profile picture setting for easy linking
This commit is contained in:
parent
839a54b97b
commit
48d0465f72
|
@ -143,7 +143,7 @@
|
|||
|
||||
{{#unless siteSettings.sso_overrides_avatar}}
|
||||
<div class="control-group pref-avatar">
|
||||
<label class="control-label">{{i18n 'user.avatar.title'}}</label>
|
||||
<label class="control-label" id="profile-picture">{{i18n 'user.avatar.title'}}</label>
|
||||
<div class="controls">
|
||||
{{! we want the "huge" version even though we're downsizing it in CSS }}
|
||||
{{bound-avatar model "huge"}}
|
||||
|
|
|
@ -85,7 +85,7 @@ class ComposerMessagesFinder
|
|||
{
|
||||
id: 'avatar',
|
||||
templateName: 'education',
|
||||
body: PrettyText.cook(I18n.t('education.avatar', profile_path: "/u/#{@user.username_lower}"))
|
||||
body: PrettyText.cook(I18n.t('education.avatar', profile_path: "/u/#{@user.username_lower}/preferences/account#profile-picture"))
|
||||
}
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user