aboutsummaryrefslogtreecommitdiffstats
path: root/templates/admin/emails/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/emails/list.tmpl')
-rw-r--r--templates/admin/emails/list.tmpl10
1 files changed, 8 insertions, 2 deletions
diff --git a/templates/admin/emails/list.tmpl b/templates/admin/emails/list.tmpl
index 64b7603e2e..39a200942d 100644
--- a/templates/admin/emails/list.tmpl
+++ b/templates/admin/emails/list.tmpl
@@ -33,9 +33,15 @@
<table class="ui very basic striped table">
<thead>
<tr>
- <th>{{.i18n.Tr "admin.users.name"}}</th>
+ <th data-sortt-asc="username" data-sortt-desc="reverseusername">
+ {{.i18n.Tr "admin.users.name"}}
+ {{SortArrow "username" "reverseusername" $.SortType false}}
+ </th>
<th>{{.i18n.Tr "admin.users.full_name"}}</th>
- <th>{{.i18n.Tr "email"}}</th>
+ <th data-sortt-asc="email" data-sortt-desc="reverseemail" data-sortt-default="true">
+ {{.i18n.Tr "email"}}
+ {{SortArrow "email" "reverseemail" $.SortType true}}
+ </th>
<th>{{.i18n.Tr "admin.emails.primary"}}</th>
<th>{{.i18n.Tr "admin.emails.activated"}}</th>
</tr>