aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/commit_statuses.tmpl
diff options
context:
space:
mode:
authorsilverwind <me@silverwind.io>2022-08-09 23:55:29 +0200
committerGitHub <noreply@github.com>2022-08-09 23:55:29 +0200
commit89505ac650c8bce17554bc001a00673741e21528 (patch)
tree78b190f8b4ca1be67b54cd05dc2f238d98f527d1 /templates/repo/commit_statuses.tmpl
parent7009eb9a24a800b7fb884b54f81885815ea4d286 (diff)
downloadgitea-89505ac650c8bce17554bc001a00673741e21528.tar.gz
gitea-89505ac650c8bce17554bc001a00673741e21528.zip
Change commit status icons to SVG (#20736)
* Fix commit status popover and switch to svg icons * margin tweak * fix integration, use warning sign for error to match previous * remove fix from here, will be a new pr * use top/bottom positioning * vertically center * use no-entry over alert oction * add exclamation icon * fix test selector * more test fixes
Diffstat (limited to 'templates/repo/commit_statuses.tmpl')
-rw-r--r--templates/repo/commit_statuses.tmpl8
1 files changed, 4 insertions, 4 deletions
diff --git a/templates/repo/commit_statuses.tmpl b/templates/repo/commit_statuses.tmpl
index 893887736c..fe3598d755 100644
--- a/templates/repo/commit_statuses.tmpl
+++ b/templates/repo/commit_statuses.tmpl
@@ -1,12 +1,12 @@
-<a class="ui link commit-statuses-trigger">{{template "repo/commit_status" .Status}}</a>
+<a class="ui link commit-statuses-trigger vm">{{template "repo/commit_status" .Status}}</a>
<div class="ui commit-statuses-popup commit-statuses hide">
<div class="ui relaxed list divided">
{{range .Statuses}}
<div class="ui item singular-status df">
- <span>{{template "repo/commit_status" .}}</span>
- <span class="ui f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
+ {{template "repo/commit_status" .}}
+ <span class="ui ml-3 f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
{{if .TargetURL}}
- <div class="ui"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.locale.Tr "repo.pulls.status_checks_details"}}</a></div>
+ <a class="ml-3" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.locale.Tr "repo.pulls.status_checks_details"}}</a>
{{end}}
</div>
{{end}}