File tree 2 files changed +1
-1
lines changed
2 files changed +1
-1
lines changed Original file line number Diff line number Diff line change @@ -32,6 +32,7 @@ func PrepareContextForProfileBigAvatar(ctx *context.Context) {
32
32
33
33
ctx .Data ["IsFollowing" ] = ctx .Doer != nil && user_model .IsFollowing (ctx , ctx .Doer .ID , ctx .ContextUser .ID )
34
34
ctx .Data ["ShowUserEmail" ] = setting .UI .ShowUserEmail && ctx .ContextUser .Email != "" && ctx .IsSigned && ! ctx .ContextUser .KeepEmailPrivate
35
+ ctx .Data ["UserLocationMapURL" ] = setting .Service .UserLocationMapURL
35
36
36
37
// Show OpenID URIs
37
38
openIDs , err := user_model .GetUserOpenIDs (ctx , ctx .ContextUser .ID )
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ func userProfile(ctx *context.Context) {
52
52
53
53
ctx .Data ["Title" ] = ctx .ContextUser .DisplayName ()
54
54
ctx .Data ["PageIsUserProfile" ] = true
55
- ctx .Data ["UserLocationMapURL" ] = setting .Service .UserLocationMapURL
56
55
57
56
// prepare heatmap data
58
57
if setting .Service .EnableUserHeatmap {
You can’t perform that action at this time.
0 commit comments