添加状态显示

This commit is contained in:
wlx 2013-05-02 05:31:08 +00:00
parent 061e38d26a
commit 1212fb9711
1 changed files with 3 additions and 3 deletions

View File

@ -41,7 +41,7 @@ table thead tr th {background:#EBF2F6;}
<table class="table table-bordered table-striped">
<thead>
<tr>
<th>UUID</th>
<th>状态</th>
<th>元数据</th>
<th>DOI</th>
<th width="70">操作</th>
@ -52,8 +52,8 @@ table thead tr th {background:#EBF2F6;}
foreach ($this->paginator as $item):
$autoindex++;?>
<tr id="DataLine_<?= $item['id']?>">
<td><?= $item['uuid'] ?></td>
<td><?= $item['title'] ?></td>
<td><?php if (!empty($item['ts_published'])) { echo '已发布'; } else if (!empty($item['ts_submitted'])) { echo '已提交'; } ?></td>
<td><a href="/data/<?= $item['uuid'] ?>"><?= $item['title'] ?></a></td>
<td><?= $item['doi'] ?></td>
<td>
<a href="/admin/data/doi/ac/edit/uuid/<?= $item['uuid']?>">编辑</a>