From 5e1438ba92fe5b4398ebf468e4ede21c7ef60409 Mon Sep 17 00:00:00 2001 From: guillep2k <18600385+guillep2k@users.noreply.github.com> Date: Mon, 2 Mar 2020 15:25:36 -0300 Subject: Admin page for managing user e-mail activation (#10557) * Implement mail activation admin panel * Add export comments * Fix another export comment * again... * And again! * Apply suggestions by @lunny * Add UI for user activated emails * Make new activation UI work * Fix lint * Prevent admin from self-deactivate; add modal Co-authored-by: zeripath --- templates/admin/emails/list.tmpl | 101 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 101 insertions(+) create mode 100644 templates/admin/emails/list.tmpl (limited to 'templates/admin/emails/list.tmpl') diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl new file mode 100644 index 0000000000..e9bef3c3b8 --- /dev/null +++ b/templates/admin/emails/list.tmpl @@ -0,0 +1,101 @@ +{{template "base/head" .}} +
+ {{template "admin/navbar" .}} +
+ {{template "base/alert" .}} +

+ {{.i18n.Tr "admin.emails.email_manage_panel"}} ({{.i18n.Tr "admin.total" .Total}}) +

+ +
+ + + + + + + + + + + + {{range .Emails}} + + + + + + + + {{end}} + +
{{.i18n.Tr "admin.users.name"}}{{.i18n.Tr "admin.users.full_name"}}{{.i18n.Tr "email"}}{{.i18n.Tr "admin.emails.primary"}}{{.i18n.Tr "admin.emails.activated"}}
{{.Name}}{{.FullName}} + {{if .CanChange}} + + + + {{else}} + + {{end}} +
+
+ + {{template "base/paginate" .}} + + + +
+
+{{template "base/footer" .}} -- cgit v1.2.3