summaryrefslogtreecommitdiffstats
path: root/routers/user/setting.go
diff options
context:
space:
mode:
authorFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
committerFuXiaoHei <fuxiaohei@hexiaz.com>2014-03-14 17:12:28 +0800
commitd18237850c6a4ae855b3f8592994c91462fcdb0a (patch)
treed379828e1cd31ad6db2f02d8ff3d01b9045b39a4 /routers/user/setting.go
parent398809b135742ad8a7441f65fa7d0ccec318bd91 (diff)
downloadgitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.tar.gz
gitea-d18237850c6a4ae855b3f8592994c91462fcdb0a.zip
add draft page for empty link
Diffstat (limited to 'routers/user/setting.go')
-rw-r--r--routers/user/setting.go14
1 files changed, 14 insertions, 0 deletions
diff --git a/routers/user/setting.go b/routers/user/setting.go
index b01d27d845..8b5a2d18df 100644
--- a/routers/user/setting.go
+++ b/routers/user/setting.go
@@ -154,3 +154,17 @@ func SettingSSHKeys(form auth.AddSSHKeyForm, r render.Render, data base.TmplData
data["Keys"] = keys
r.HTML(200, "user/publickey", data)
}
+
+func SettingNotification(r render.Render, data base.TmplData) {
+ // todo user setting notification
+ data["Title"] = "Notification"
+ data["PageIsUserSetting"] = true
+ r.HTML(200, "user/notification", data)
+}
+
+func SettingSecurity(r render.Render, data base.TmplData) {
+ // todo user setting security
+ data["Title"] = "Security"
+ data["PageIsUserSetting"] = true
+ r.HTML(200, "user/security", data)
+}