|
|
@@ -1,13 +1,13 @@ |
|
|
|
<div class="tooltip-wati-count" style="margin-left: 155px"> |
|
|
|
{{$queue := ""}} |
|
|
|
{{$gpuQueue := 0}} |
|
|
|
{{range $k,$v :=.gpu_types}} |
|
|
|
{{range $k,$v :=.type}} |
|
|
|
{{if eq $k 0}} |
|
|
|
{{ $queue = $v.Queue }} |
|
|
|
{{ end }} |
|
|
|
{{ end }} |
|
|
|
|
|
|
|
{{ range $k,$v :=.QueuesDetail }} |
|
|
|
{{ range $k,$v :=.ctx.QueuesDetail }} |
|
|
|
{{if eq $k $queue}} |
|
|
|
{{$gpuQueue =$v}} |
|
|
|
{{ end }} |
|
|
@@ -17,12 +17,12 @@ |
|
|
|
style="margin-right: 0.5rem; font-size: 16px" |
|
|
|
></i> |
|
|
|
<span |
|
|
|
>{{.i18n.Tr "repo.wait_count_start"}} |
|
|
|
{{if .QueuesDetail}} |
|
|
|
>{{.ctx.i18n.Tr "repo.wait_count_start"}} |
|
|
|
{{if .type}} |
|
|
|
{{ $gpuQueue }} |
|
|
|
{{else}} |
|
|
|
{{.WaitCount}} |
|
|
|
{{.ctx.WaitCount}} |
|
|
|
{{ end }} |
|
|
|
{{.i18n.Tr "repo.wait_count_end"}}</span |
|
|
|
{{.ctx.i18n.Tr "repo.wait_count_end"}}</span |
|
|
|
> |
|
|
|
</div> |