[前端-后台]统一各列表显示项目的大致顺序,为题目列表增添可见筛选,统一对列表中boolen值的显示,是/否[CI SKIP]

This commit is contained in:
esp
2015-08-27 15:18:31 +08:00
parent 09e30832f9
commit f3b88e85fc
5 changed files with 23 additions and 10 deletions

View File

@@ -16,18 +16,18 @@
<th>ID</th>
<th>比赛</th>
<th>公开排名</th>
<th>可见</th>
<th>创建时间</th>
<th>创建者</th>
<th>可见</th>
<th></th>
</tr>
<tr ms-repeat="contestList">
<td>{{ el.id }}</td>
<td>{{ el.title }}</td>
<td>{{ getYesOrNo(el.show_rank) }}</td>
<td>{{ getYesOrNo(el.visible) }}</td>
<td>{{ el.create_time|date("yyyy-MM-dd HH:mm:ss")}}</td>
<td>{{ el.created_by.username }}</td>
<td>{{ getYesOrNo(el.visible) }}</td>
<td>
<a class="btn btn-info btn-sm" href="javascript:void(0)" ms-click="showEditContestArea($index+1)">编辑</a>
<a class="btn btn-info btn-sm" href="javascript:void(0)" ms-click="showEditProblemArea($index+1)">题目</a>