summaryrefslogtreecommitdiffstats
path: root/templates/admin/auth/list.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/admin/auth/list.tmpl')
-rw-r--r--templates/admin/auth/list.tmpl16
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/admin/auth/list.tmpl b/templates/admin/auth/list.tmpl
index c9f7c0d516..6483ec800c 100644
--- a/templates/admin/auth/list.tmpl
+++ b/templates/admin/auth/list.tmpl
@@ -1,9 +1,9 @@
{{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin authentication")}}
<div class="admin-setting-content">
<h4 class="ui top attached header">
- {{.locale.Tr "admin.auths.auth_manage_panel"}} ({{.locale.Tr "admin.total" .Total}})
+ {{ctx.Locale.Tr "admin.auths.auth_manage_panel"}} ({{ctx.Locale.Tr "admin.total" .Total}})
<div class="ui right">
- <a class="ui primary tiny button" href="{{AppSubUrl}}/admin/auths/new">{{.locale.Tr "admin.auths.new"}}</a>
+ <a class="ui primary tiny button" href="{{AppSubUrl}}/admin/auths/new">{{ctx.Locale.Tr "admin.auths.new"}}</a>
</div>
</h4>
<div class="ui attached table segment">
@@ -11,12 +11,12 @@
<thead>
<tr>
<th>ID</th>
- <th>{{.locale.Tr "admin.auths.name"}}</th>
- <th>{{.locale.Tr "admin.auths.type"}}</th>
- <th>{{.locale.Tr "admin.auths.enabled"}}</th>
- <th>{{.locale.Tr "admin.auths.updated"}}</th>
- <th>{{.locale.Tr "admin.users.created"}}</th>
- <th>{{.locale.Tr "admin.users.edit"}}</th>
+ <th>{{ctx.Locale.Tr "admin.auths.name"}}</th>
+ <th>{{ctx.Locale.Tr "admin.auths.type"}}</th>
+ <th>{{ctx.Locale.Tr "admin.auths.enabled"}}</th>
+ <th>{{ctx.Locale.Tr "admin.auths.updated"}}</th>
+ <th>{{ctx.Locale.Tr "admin.users.created"}}</th>
+ <th>{{ctx.Locale.Tr "admin.users.edit"}}</th>
</tr>
</thead>
<tbody>