mirror of
https://github.com/mindoc-org/mindoc.git
synced 2025-04-05 20:17:53 +08:00
fix:默认的项目空间不能删除
This commit is contained in:
parent
37fe31797d
commit
34c383ea14
@ -49,7 +49,9 @@
|
||||
<td>{{$item.BookNumber}}</td>
|
||||
<td>
|
||||
<button type="button" class="btn btn-sm btn-default" data-id="{{$item.ItemId}}" data-method="edit" data-name="{{$item.ItemName}}" data-key="{{$item.ItemKey}}">编辑</button>
|
||||
{{if ne $item.ItemId 1}}
|
||||
<button type="button" data-method="delete" class="btn btn-danger btn-sm" data-id="{{$item.ItemId}}" data-loading-text="删除中...">删除</button>
|
||||
{{end}}
|
||||
<a href="{{urlfor "ItemsetsController.Index" ":key" $item.ItemKey}}" class="btn btn-success btn-sm" target="_blank">详情</a>
|
||||
</td>
|
||||
</tr>
|
||||
|
Loading…
Reference in New Issue
Block a user