aboutsummaryrefslogtreecommitdiffstats
path: root/templates/repo/commit_statuses.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'templates/repo/commit_statuses.tmpl')
-rw-r--r--templates/repo/commit_statuses.tmpl14
1 files changed, 14 insertions, 0 deletions
diff --git a/templates/repo/commit_statuses.tmpl b/templates/repo/commit_statuses.tmpl
new file mode 100644
index 0000000000..d2e9f0bd16
--- /dev/null
+++ b/templates/repo/commit_statuses.tmpl
@@ -0,0 +1,14 @@
+<a class="ui link commit-statuses-trigger">{{template "repo/commit_status" .Status}}</a>
+<div class="ui popup very wide fixed basic commit-statuses">
+ <div class="ui relaxed list divided">
+ {{range .Statuses}}
+ <div class="ui item singular-status">
+ <span>{{template "repo/commit_status" .}}</span>
+ <span class="ui">{{.Context}} <span class="text grey">{{.Description}}</span></span>
+ {{if .TargetURL}}
+ <div class="ui right"><a href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.i18n.Tr "repo.pulls.status_checks_details"}}</a></div>
+ {{end}}
+ </div>
+ {{end}}
+ </div>
+</div>