| @@ -403,8 +403,8 @@ | |||||
| {{end}} | {{end}} | ||||
| </div> | </div> | ||||
| <div class="item" style="padding: 0 !important;"> | <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> | </a> | ||||
| {{end}} | {{end}} | ||||
| @@ -488,6 +488,7 @@ | |||||
| <script> | <script> | ||||
| // 调试和评分新开窗口 | // 调试和评分新开窗口 | ||||
| console.log({{.Tasks}}) | |||||
| const {AppSubUrl, StaticUrlPrefix, csrf} = window.config; | const {AppSubUrl, StaticUrlPrefix, csrf} = window.config; | ||||
| let url={{.RepoLink}} | let url={{.RepoLink}} | ||||
| let getParam=getQueryVariable('debugListType') | let getParam=getQueryVariable('debugListType') | ||||