Skip to content

Commit 8f17dbc

Browse files
committed
use two words for id to avoid conflicts
1 parent 5210919 commit 8f17dbc

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

templates/shared/user/profile_big_avatar.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div id="profile-avatar-card" class="ui card">
22
<div id="profile-avatar" class="content tw-flex">
33
{{if eq .SignedUserID .ContextUser.ID}}
4-
<a class="image" href="{{AppSubUrl}}/user/settings#avatar" data-tooltip-content="{{ctx.Locale.Tr "user.change_avatar"}}">
4+
<a class="image" href="{{AppSubUrl}}/user/settings#update-avatar" data-tooltip-content="{{ctx.Locale.Tr "user.change_avatar"}}">
55
{{/* the size doesn't take affect (and no need to take affect), image size(width) should be controlled by the parent container since this is not a flex layout*/}}
66
{{ctx.AvatarUtils.Avatar .ContextUser 256}}
77
</a>

templates/user/settings/profile.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@
9797
</form>
9898
</div>
9999

100-
<h4 class="ui top attached header" id="avatar">
100+
<h4 class="ui top attached header" id="update-avatar">
101101
{{ctx.Locale.Tr "settings.avatar"}}
102102
</h4>
103103
<div class="ui attached segment">

0 commit comments

Comments
 (0)