diff options
Diffstat (limited to 'templates/admin/queue.tmpl')
-rw-r--r-- | templates/admin/queue.tmpl | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/templates/admin/queue.tmpl b/templates/admin/queue.tmpl index efca8c1f2f..1be35cf765 100644 --- a/templates/admin/queue.tmpl +++ b/templates/admin/queue.tmpl @@ -1,18 +1,18 @@ {{template "admin/layout_head" (dict "ctxData" . "pageClass" "admin monitor")}} <div class="admin-setting-content"> <h4 class="ui top attached header"> - {{.locale.Tr "admin.monitor.queues"}} + {{ctx.Locale.Tr "admin.monitor.queues"}} </h4> <div class="ui attached table segment"> <table class="ui very basic striped table unstackable"> <thead> <tr> - <th>{{.locale.Tr "admin.monitor.queue.name"}}</th> - <th>{{.locale.Tr "admin.monitor.queue.type"}}</th> - <th>{{.locale.Tr "admin.monitor.queue.exemplar"}}</th> - <th>{{.locale.Tr "admin.monitor.queue.numberworkers"}}</th> - <th>{{.locale.Tr "admin.monitor.queue.activeworkers"}}</th> - <th>{{.locale.Tr "admin.monitor.queue.numberinqueue"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.name"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.type"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.exemplar"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.numberworkers"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.activeworkers"}}</th> + <th>{{ctx.Locale.Tr "admin.monitor.queue.numberinqueue"}}</th> <th></th> </tr> </thead> @@ -25,7 +25,7 @@ <td>{{$q.GetWorkerNumber}}</td> <td>{{$q.GetWorkerActiveNumber}}</td> <td>{{$sum := $q.GetQueueItemNumber}}{{if lt $sum 0}}-{{else}}{{$sum}}{{end}}</td> - <td><a href="{{$.Link}}/{{$qid}}" class="button">{{$.locale.Tr "admin.monitor.queue.review_add"}}</a></td> + <td><a href="{{$.Link}}/{{$qid}}" class="button">{{ctx.Locale.Tr "admin.monitor.queue.review_add"}}</a></td> </tr> {{end}} </tbody> |