feat: 展示任务PDD店铺和客户端名称 (#158)
This commit is contained in:
@@ -66,6 +66,7 @@
|
||||
<th>类型</th>
|
||||
<th>执行模式</th>
|
||||
<th>目标</th>
|
||||
<th>PDD 店铺</th>
|
||||
<th>状态</th>
|
||||
<th>客户端</th>
|
||||
{{if .ShowCreator}}<th>创建人</th>{{end}}
|
||||
@@ -84,15 +85,16 @@
|
||||
<td>{{.TypeText}}</td>
|
||||
<td>{{.ExecutionModeText}}</td>
|
||||
<td class="truncate" title="{{.Target}}">{{.Target}}</td>
|
||||
<td class="truncate" title="{{.PddShopText}}">{{.PddShopText}}</td>
|
||||
<td>{{.StatusText}}</td>
|
||||
<td>{{.ClientText}}</td>
|
||||
<td class="truncate" title="{{.ClientTitle}}">{{.ClientText}}</td>
|
||||
{{if $.ShowCreator}}<td>{{.CreatorText}}</td>{{end}}
|
||||
<td>{{.UpdatedAt}}</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
{{/* 空状态要分情况:从没建过任务 和 筛选没结果,下一步动作完全不同 */}}
|
||||
<tr class="empty">
|
||||
<td colspan="{{if .ShowCreator}}9{{else}}8{{end}}">
|
||||
<td colspan="{{if .ShowCreator}}10{{else}}9{{end}}">
|
||||
{{if .IsFiltered}}
|
||||
当前筛选条件下没有任务。<br>
|
||||
<small>换个类型、状态或关键词再试。<a href="/tasks">查看全部</a></small>
|
||||
|
||||
Reference in New Issue
Block a user