summaryrefslogtreecommitdiffstats
path: root/templates/admin/queue.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-25 23:55:52 +0200
committerGitHub <noreply@github.com>2022-08-25 17:55:52 -0400
commit6c4688e1b1ddb68de192af7f83b06de27baae85e (patch)
tree554b4e7d97c843590031aab058ba1c66474c405f /templates/admin/queue.tmpl
parent27ac65a124f34ec3ed5f34aeb576f918ae1c70b1 (diff)
downloadgitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.tar.gz
gitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.zip
Add whitespace removal inside template curly brackes (#20853)
Diffstat (limited to 'templates/admin/queue.tmpl')
-rw-r--r--templates/admin/queue.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/admin/queue.tmpl b/templates/admin/queue.tmpl
index a7ea4c602a..95fd3a5e05 100644
--- a/templates/admin/queue.tmpl
+++ b/templates/admin/queue.tmpl
@@ -30,12 +30,12 @@
</tbody>
</table>
</div>
- {{if lt $sum 0 }}
+ {{if lt $sum 0}}
<h4 class="ui top attached header">
{{.locale.Tr "admin.monitor.queue.nopool.title"}}
</h4>
<div class="ui attached segment">
- {{if eq .Queue.Type "wrapped" }}
+ {{if eq .Queue.Type "wrapped"}}
<p>{{.locale.Tr "admin.monitor.queue.wrapped.desc"}}</p>
{{else if eq .Queue.Type "persistable-channel"}}
<p>{{.locale.Tr "admin.monitor.queue.persistable-channel.desc"}}</p>
@@ -58,7 +58,7 @@
</div>
<div class="inline field">
<label for="timeout">{{.locale.Tr "admin.monitor.queue.settings.timeout"}}</label>
- <input name="timeout" type="text" placeholder="{{.locale.Tr "admin.monitor.queue.settings.timeout.placeholder" .Queue.BoostTimeout }}">
+ <input name="timeout" type="text" placeholder="{{.locale.Tr "admin.monitor.queue.settings.timeout.placeholder" .Queue.BoostTimeout}}">
</div>
<div class="inline field">
<label for="number">{{.locale.Tr "admin.monitor.queue.settings.numberworkers"}}</label>
@@ -166,7 +166,7 @@
</tr>
{{else}}
<tr>
- <td colspan="4">{{.locale.Tr "admin.monitor.queue.pool.workers.none" }}
+ <td colspan="4">{{.locale.Tr "admin.monitor.queue.pool.workers.none"}}
</tr>
{{end}}
</tbody>