<!-- 操作栏 -->
{{if AdminIsPower('customview', 'detail')}}
    <a class="am-btn am-btn-default am-btn-xs am-radius am-btn-block" href="{{:MyUrl('index/customview/index', ['id'=>$module_data['id']])}}" target="_blank" rel="noopener noreferrer">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('view_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('customview', 'saveinfo')}}
    <a class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/customview/saveinfo', array('id'=>$module_data['id']))}}" target="_blank" rel="noopener noreferrer">
        <i class="am-icon-edit"></i>
        <span>{{:MyLang('edit_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('customview', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/customview/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}