summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLunny Xiao <xiaolunwen@gmail.com>2022-09-20 08:53:39 +0800
committerGitHub <noreply@github.com>2022-09-19 20:53:39 -0400
commita196302472d559f04ed9a4387156bedf26b7c55d (patch)
tree9fff4f3a4431ee748bd4855ca8fd79033cdf035e
parent0c51595eedbb68643af73314ae1ab43eb5c95715 (diff)
downloadgitea-a196302472d559f04ed9a4387156bedf26b7c55d.tar.gz
gitea-a196302472d559f04ed9a4387156bedf26b7c55d.zip
Fix template bug of admin monitor (#21208)
Fix #21207 Co-authored-by: Lauris BH <lauris@nix.lv>
-rw-r--r--templates/admin/queue.tmpl2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/admin/queue.tmpl b/templates/admin/queue.tmpl
index 95fd3a5e05..cd50798f80 100644
--- a/templates/admin/queue.tmpl
+++ b/templates/admin/queue.tmpl
@@ -157,7 +157,7 @@
<tbody>
{{range .Queue.Workers}}
<tr>
- <td>{{.Workers}}{{if .IsFlusher}}<span title="{{.locale.Tr "admin.monitor.queue.flush"}}">{{svg "octicon-sync"}}</span>{{end}}</td>
+ <td>{{.Workers}}{{if .IsFlusher}}<span title="{{$.locale.Tr "admin.monitor.queue.flush"}}">{{svg "octicon-sync"}}</span>{{end}}</td>
<td>{{DateFmtLong .Start}}</td>
<td>{{if .HasTimeout}}{{DateFmtLong .Timeout}}{{else}}-{{end}}</td>
<td>