管理员可以删除任何版本
This commit is contained in:
parent
6f64018a7a
commit
96fd6557ea
|
@ -39,11 +39,10 @@ $this->breadcrumb()->setSeparator(' > ');
|
|||
【<a href="/admin/data/version/uuid/<?php echo $item['uuid']; ?>">查看此数据所有版本</a>】</p>
|
||||
<p>版本创建时间: <?php echo date("Y-m-d H:i",strtotime($item['ts_created']));?>
|
||||
<?php if ($item['userid']) :
|
||||
echo "发布人: ".(empty($item['realname'])?$item['username']:$item['realname'])." 【";
|
||||
else :
|
||||
echo "发布人: ".(empty($item['realname'])?$item['username']:$item['realname'])." ";
|
||||
endif;
|
||||
?>
|
||||
【<a onclick="return confirm('是否确定删除该版本?');" href="javascript:action('delete','<?php echo $item['id'];?>');" class="more">删除</a>
|
||||
<?php endif; ?>
|
||||
<a onclick="return confirm('是否确定将这个版本恢复到geonetwork?');" href="javascript:action('restore','<?php echo $item['id'];?>');" class="more">恢复到geonetwork</a>
|
||||
<a href="/admin/data/version/ac/diff/id/<?php echo $item['id'];?>" class="more">与前一版对比</a>
|
||||
<a onclick="$('#commit_submit').attr('onclick','commit(\'<?php echo $item['id'];?>\');');" href="#commitform" class="more inline">提交评审发布</a>
|
||||
|
|
Loading…
Reference in New Issue