[前端-后台]统一各列表显示项目的大致顺序,为题目列表增添可见筛选,统一对列表中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

@@ -7,8 +7,8 @@
<th>创建时间</th>
<th>更新时间</th>
<th>创建者</th>
<td>可见范围</td>
<th>状态</th>
<th>可见范围</th>
<th>可见</th>
<th></th>
</tr>
<tr ms-repeat="announcementList">
@@ -18,7 +18,7 @@
<td>{{ el.last_update_time|date("yyyy-MM-dd HH:mm:ss")}}</td>
<td>{{ el.created_by.username }}</td>
<td ms-text="el.is_global?'全局可见':'组内可见'"></td>
<td>{{ getState(el)}}</td>
<td>{{ getYesOrNo(el.visible)}}</td>
<td>
<button class="btn-sm btn-info" ms-click="editAnnouncement(el)">编辑</button>
</td>