Browse Source

fix issue

tags/v1.21.12.2^2
zhoupzh 3 years ago
parent
commit
3d0afdc432
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      templates/repo/debugjob/index.tmpl

+ 3
- 2
templates/repo/debugjob/index.tmpl View File

@@ -403,8 +403,8 @@
{{end}}
</div>
<div class="item" style="padding: 0 !important;">
{{if and (ne .Status "WAITING") (ne .JobType "DEBUG") }}
<a class="ui basic button" href="{{$.Link}}/{{.JobID}}/rate" target="_blank">
{{if and (ne .Status "WAITING") (ne .JobType "DEBUG") (eq .Cloudbrain.Type 0)}}
<a class="ui basic blue button" href="{{$.RepoLink}}/cloudbrain/{{.JobID}}/rate" target="_blank">
评分
</a>
{{end}}
@@ -488,6 +488,7 @@

<script>
// 调试和评分新开窗口
console.log({{.Tasks}})
const {AppSubUrl, StaticUrlPrefix, csrf} = window.config;
let url={{.RepoLink}}
let getParam=getQueryVariable('debugListType')


Loading…
Cancel
Save