diff options
author | silverwind <me@silverwind.io> | 2022-08-25 23:55:52 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-08-25 17:55:52 -0400 |
commit | 6c4688e1b1ddb68de192af7f83b06de27baae85e (patch) | |
tree | 554b4e7d97c843590031aab058ba1c66474c405f /templates/admin/stacktrace-row.tmpl | |
parent | 27ac65a124f34ec3ed5f34aeb576f918ae1c70b1 (diff) | |
download | gitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.tar.gz gitea-6c4688e1b1ddb68de192af7f83b06de27baae85e.zip |
Add whitespace removal inside template curly brackes (#20853)
Diffstat (limited to 'templates/admin/stacktrace-row.tmpl')
-rw-r--r-- | templates/admin/stacktrace-row.tmpl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/templates/admin/stacktrace-row.tmpl b/templates/admin/stacktrace-row.tmpl index d8b337fc09..a8ae486bcb 100644 --- a/templates/admin/stacktrace-row.tmpl +++ b/templates/admin/stacktrace-row.tmpl @@ -2,13 +2,13 @@ <div class="df ac"> <div class="icon ml-3 mr-3"> {{if eq .Process.Type "request"}} - {{svg "octicon-globe" 16 }} + {{svg "octicon-globe" 16}} {{else if eq .Process.Type "system"}} - {{svg "octicon-cpu" 16 }} + {{svg "octicon-cpu" 16}} {{else if eq .Process.Type "normal"}} - {{svg "octicon-terminal" 16 }} + {{svg "octicon-terminal" 16}} {{else}} - {{svg "octicon-code" 16 }} + {{svg "octicon-code" 16}} {{end}} </div> <div class="content f1"> @@ -16,7 +16,7 @@ <div class="description">{{if ne .Process.Type "none"}}<span title="{{DateFmtLong .Process.Start}}">{{TimeSince .Process.Start .root.locale}}</span>{{end}}</div> </div> <div> - {{if or (eq .Process.Type "request") (eq .Process.Type "normal") }} + {{if or (eq .Process.Type "request") (eq .Process.Type "normal")}} <a class="delete-button icon" href="" data-url="{{.root.Link}}/cancel/{{.Process.PID}}" data-id="{{.Process.PID}}" data-name="{{.Process.Description}}">{{svg "octicon-trash" 16 "text-red"}}</a> {{end}} </div> @@ -29,7 +29,7 @@ <summary> <div class="dif content"> <div class="header ml-3"> - <span class="icon mr-3">{{svg "octicon-code" 16 }}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}} + <span class="icon mr-3">{{svg "octicon-code" 16}}</span>{{.Description}}{{if gt .Count 1}} * {{.Count}}{{end}} </div> <div class="description"> {{range .Labels}} @@ -41,7 +41,7 @@ <div class="list"> {{range .Entry}} <div class="item df ac"> - <span class="icon mr-4">{{svg "octicon-dot-fill" 16 }}</span> + <span class="icon mr-4">{{svg "octicon-dot-fill" 16}}</span> <div class="content f1"> <div class="header"><code>{{.Function}}</code></div> <div class="description"><code>{{.File}}:{{.Line}}</code></div> |