File tree Expand file tree Collapse file tree 1 file changed +7
-8
lines changed
plugins/push/frontend/public/templates Expand file tree Collapse file tree 1 file changed +7
-8
lines changed Original file line number Diff line number Diff line change 11< script type ="text/x-template " id ="push-notification ">
22 < div v-bind :class = "[componentId]" >
3- < cly-header >
4- < template v-slot :header-left >
5- < h2 > { { i18n ( 'push-notification.title' ) } } </ h2 >
6- < cly-tooltip-icon :tooltip = "i18n('push-notification.description')" icon= "ion ion-help-circled" class = "bu-ml-2" > < / cly-tooltip-icon >
7- </ template >
3+ < cly-header
4+ :title = "i18n('push-notification.title')"
5+ :tooltip = "{description: i18n('push-notification.description')}"
6+ >
87 < template v-slot :header-right v-if = "canUserCreate" >
98 < div class = "bu-level-item" >
10- < el-button @click = "onCreatePushNotification" type = "success" size = "small" icon = "el-icon-circle-plus" > { { i18n ( 'push-notification.create-button' ) } } </ el-button >
9+ < el-button @click = "onCreatePushNotification" type = "success" size = "small" icon = "el-icon-circle-plus" data-test-id = "create-new-messsage-button" > { { i18n ( 'push-notification.create-button' ) } } </ el-button >
1110 </ div >
1211 </ template >
1312 < template v - slot :header - tabs >
14- < cly-dynamic-tabs v-model = "selectedPushNotificationTab" skin = "secondary" :tabs = "pushNotificationTabs" >
13+ < cly-dynamic-tabs class = "push-notification__main-tabs" v-model = "selectedPushNotificationTab" skin = "secondary" :tabs = "pushNotificationTabs" >
1514 < template v-slot :tables = "scope" >
1615 < span > { { scope. tab . title } } </ span >
1716 </ template >
1817 </ cly-dynamic-tabs >
1918 < / t e m p l a t e >
2019 </cly - header >
21- < push - notification - drawer @onClose = "onDrawerClose" @save = "onSave" :controls = "drawers.pushNotificationDrawer" :type = "selectedPushNotificationTab" :userCommand = "userCommand.type" :id = "userCommand.pushNotificationId" :isOpened = "isDrawerOpen" > < / push-notification-drawer >
20+ < push-notification-drawer ref = "pushNotificationDrawer" @onClose = "onDrawerClose" @save = "onSave" :controls = "drawers.pushNotificationDrawer" :type = "selectedPushNotificationTab" :userCommand = "userCommand.type" :id = "userCommand.pushNotificationId" :isOpened = "isDrawerOpen" > </ push-notification-drawer >
2221 < / d i v >
2322</ script >
You can’t perform that action at this time.
0 commit comments