<!-- 操作栏 -->
{{if AdminIsPower('goodscomments', 'detail')}}
    <button type="button" class="am-btn am-btn-default am-btn-xs am-radius am-btn-block submit-popup" data-url="{{:MyUrl('admin/goodscomments/detail', ['id'=>$module_data['id']])}}" data-title="{{:MyLang('detail_title')}}">
        <i class="am-icon-eye"></i>
        <span>{{:MyLang('detail_title')}}</span>
    </button>
{{/if}}
{{if AdminIsPower('goodscomments', 'saveinfo')}}
    <a class="am-btn am-btn-secondary am-btn-xs am-radius am-btn-block" href="{{:MyUrl('admin/goodscomments/saveinfo', array_merge($form_back_params, ['id'=>$module_data['id']]))}}">
        <i class="am-icon-edit"></i>
        <span>{{:MyLang('edit_title')}}</span>
    </a>
{{/if}}
{{if AdminIsPower('goodscomments', 'reply')}}
    <button type="button" class="am-btn am-btn-success am-btn-xs am-radius am-btn-block submit-reply" data-am-modal="{target: '#my-popup-reply'}" data-json='{{:json_encode($module_data)}}'>
        {{if $module_data['is_reply'] eq 0}}
            <i class="am-icon-gavel"></i>
            <span>{{:MyLang('reply_title')}}</span>
        {{else /}}
            <i class="am-icon-pencil"></i>
            <span>{{:MyLang('modify_title')}}</span>
        {{/if}}
    </button>
{{/if}}
{{if AdminIsPower('goodscomments', 'delete')}}
    <button type="button" class="am-btn am-btn-danger am-btn-xs am-radius am-btn-block submit-delete" data-url="{{:MyUrl('admin/goodscomments/delete')}}" data-id="{{$module_data.id}}" data-key="ids">
        <i class="iconfont icon-delete"></i>
        <span>{{:MyLang('delete_title')}}</span>
    </button>
{{/if}}