You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

commit_statuses.tmpl 742B

1234567891011121314
  1. {{if eq (len .Statuses) 1}}{{$status := index .Statuses 0}}{{if $status.TargetURL}}<a class="ui link commit-statuses-trigger vm" href="{{$status.TargetURL}}">{{template "repo/commit_status" .Status}}</a>{{end}}{{end}}
  2. <div class="ui commit-statuses-popup commit-statuses tippy-target">
  3. <div class="ui relaxed list divided">
  4. {{range .Statuses}}
  5. <div class="ui item singular-status df">
  6. {{template "repo/commit_status" .}}
  7. <span class="ui ml-3 f1">{{.Context}} <span class="text grey">{{.Description}}</span></span>
  8. {{if .TargetURL}}
  9. <a class="ml-3" href="{{.TargetURL}}" target="_blank" rel="noopener noreferrer">{{$.root.locale.Tr "repo.pulls.status_checks_details"}}</a>
  10. {{end}}
  11. </div>
  12. {{end}}
  13. </div>
  14. </div>