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 @@ -33,6 +33,7 @@ func PrepareContextForProfileBigAvatar(ctx *context.Context) {
33
33
34
34
ctx .Data ["IsFollowing" ] = ctx .Doer != nil && user_model .IsFollowing (ctx .Doer .ID , ctx .ContextUser .ID )
35
35
ctx .Data ["ShowUserEmail" ] = setting .UI .ShowUserEmail && ctx .ContextUser .Email != "" && ctx .IsSigned && ! ctx .ContextUser .KeepEmailPrivate
36
+ ctx .Data ["UserLocationMapURL" ] = setting .Service .UserLocationMapURL
36
37
37
38
// Show OpenID URIs
38
39
openIDs , err := user_model .GetUserOpenIDs (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