summaryrefslogtreecommitdiffstats
path: root/routers
diff options
context:
space:
mode:
authorhazycora <hazysu@riseup.net>2024-02-26 20:43:04 +0100
committerhazycora <hazysu@riseup.net>2024-04-03 22:16:40 +0200
commit454ceb2ada2678ecadd0bb6641e19cc6d05edcea (patch)
tree6fd8992e9e5e7f404bbe46b2538f0a50d0ee33a9 /routers
parentAdd back ID field to pronouns migration (diff)
downloadforgejo-454ceb2ada2678ecadd0bb6641e19cc6d05edcea.tar.xz
forgejo-454ceb2ada2678ecadd0bb6641e19cc6d05edcea.zip
add some comments
Diffstat (limited to 'routers')
-rw-r--r--routers/web/user/setting/profile.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/routers/web/user/setting/profile.go b/routers/web/user/setting/profile.go
index 24c2147a03..a39c118ddd 100644
--- a/routers/web/user/setting/profile.go
+++ b/routers/web/user/setting/profile.go
@@ -41,6 +41,7 @@ const (
tplSettingsRepositories base.TplName = "user/settings/repos"
)
+// must be kept in sync with `web_src/js/features/user-settings.js`
var recognisedPronouns = []string{"", "he/him", "she/her", "they/them", "it/its", "any pronouns"}
// Profile render user's profile page