<div class="box box-primary"><div class="box-header"><h3 class="box-title">{{ domain.label }}</h3><div class="pull-right box-tools"><button class="clear-btn blue" x-ng-click="add()"><i class="fa fa-plus-circle fa-lg" tooltip="{{'COMMON.BASIC_FORM.BUTTON_ADD' | translate}}"></i></button> <button class="clear-btn pink" x-ng-click="isCollapsed = !isCollapsed" x-ng-class="{'active': isCollapsed}"><i class="fa fa-info-circle fa-lg"></i></button></div></div><div class="box-body"><div class="description" collapse="!isCollapsed"><x-ls-help content="getTemplate()"></x-ls-help></div><div class="table-responsive"><table class="table table-striped table-hover" x-ng-table="tableParams"><tr x-ng-repeat="mailConfig in $data"><td style="cursor: pointer" data-title="'MAIL_CONFIG.BOX_LIST.TABLE.HEADER_NAME' | translate" sortable="'name'"><a x-ui-sref="mailconfig.detail({id: mailConfig.uuid, domainId: mailConfig.domain, language: 'ENGLISH'})"><span>{{ mailConfig.name }}</span></a><td style="cursor: pointer" data-title="'MAIL_CONFIG.BOX_LIST.TABLE.HEADER_ACTIONS' | translate"><div class="pull-right"><div tooltip="{{ 'MAIL_CONFIG.BOX_LIST.TABLE.TABLE_ACTIONS.BUTTON_DELETE' | translate }}" style="display: inline-block"><button class="clear-btn error" type="button" x-ng-show="confirm === undefined" x-ng-click="confirm = mailConfig"><i class="fa fa-trash-o"></i></button> <button class="clear-btn blue" type="button" style="text-decoration: underline" x-ng-show="confirm === mailConfig" x-ng-click="confirm = undefined">{{ 'MAIL_CONFIG.BOX_LIST.TABLE.TABLE_ACTIONS.BUTTON_DELETE_NO' | translate }}</button> <button class="clear-btn error" type="button" style="text-decoration: underline" x-ng-show="confirm === mailConfig" x-ng-click="delete(mailConfig)">{{ 'MAIL_CONFIG.BOX_LIST.TABLE.TABLE_ACTIONS.BUTTON_DELETE_YES' | translate }}</button></div></div></table></div></div></div>