Skip to content

Commit 8e6ee8e

Browse files
committed
MOVE
1 parent 6d0d2f9 commit 8e6ee8e

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

routers/web/user/setting/notifications.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ func Notifications(ctx *context.Context) {
2828
ctx.Data["Title"] = ctx.Tr("notifications")
2929
ctx.Data["PageIsSettingsNotifications"] = true
3030
ctx.Data["EmailNotificationsPreference"] = ctx.Doer.EmailNotificationsPreference
31+
ctx.Data["EnableNotifyMail"] = setting.Service.EnableNotifyMail
3132

3233
ctx.HTML(http.StatusOK, tplSettingsNotifications)
3334
}

templates/user/settings/notifications.tmpl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings notifications")}}
1+
{{template "user/settings/layout_head" (dict "ctxData" . "pageClass" "user settings")}}
22
<div class="user-setting-content">
33
<div class="ui attached segment">
44
<div class="ui list flex-items-block">

0 commit comments

Comments
 (0)