File tree 4 files changed +23
-5
lines changed
plugins/star-rating/frontend/public
ui-tests/cypress/lib/dashboard/feedback/ratings
4 files changed +23
-5
lines changed Original file line number Diff line number Diff line change @@ -115,6 +115,7 @@ feedback.selected-pages = On selected pages
115
115
feedback.internalName = Internal Name
116
116
feedback.internalName.placeholder = Widget Name
117
117
feedback.internalName.description = Name survey for internal purposes. It is not going to be shown on survey.
118
+ feedback.consent = Add user consent
118
119
feedback.question = Question
119
120
feedback.rating-symbol = Rating Symbol
120
121
feedback.rating-score = Rating Score
Original file line number Diff line number Diff line change 54
54
}
55
55
}
56
56
57
+ & __step {
58
+ & __consent-wrapper {
59
+ .el-checkbox__label {
60
+ padding-left : 8px ;
61
+
62
+ & :hover {
63
+ color : #333c48 ;
64
+ }
65
+ }
66
+
67
+ .el-checkbox__input.is-checked + .el-checkbox__label {
68
+ color : #333c48 ;
69
+ }
70
+ }
71
+ }
72
+
57
73
& __target-page-selector {
58
74
width : 100% ;
59
75
}
Original file line number Diff line number Diff line change 98
98
< cly-form-step id ="step1 " :name ="i18n('feedback.settings') ">
99
99
< div class ="cly-vue-drawer-step__section ">
100
100
< div class ="text-medium text-heading bu-mb-1 " data-test-id ="ratings-drawer-settings-widget-name-label ">
101
- {{i18n('surveys.drawer.internal.name ')}}
101
+ {{i18n('feedback.internalName ')}}
102
102
</ div >
103
103
< div class ="text-smallish color-cool-gray-50 bu-mb-1 " data-test-id ="ratings-drawer-settings-widget-name-desc ">
104
104
{{i18n('feedback.internalName.description')}}
178
178
< el-input test-id ="ratings-drawer-settings-contact-input " v-model ="drawerScope.editedObject.popup_email_callout " :placeholder ="i18n('feedback.type-your-option-name') "> </ el-input >
179
179
</ validation-provider >
180
180
</ div >
181
- < div class ="cly-vue-drawer-step__section bu-py-1 cly-vue-surveys-drawer__consent ">
181
+ < div class ="cly-vue-drawer-step__section bu-py-1 ratings-drawer__step__consent-wrapper ">
182
182
< el-checkbox
183
+ test-id ="ratings-drawer-settings-add-user-consent "
183
184
class ="text-smallish "
184
185
@change ="onConsentCheckbox(drawerScope.editedObject) "
185
186
size ="small "
186
- v-bind:label ="i18n('surveys.drawer .consent') "
187
+ v-bind:label ="i18n('feedback .consent') "
187
188
v-model ="drawerScope.editedObject.consent "
188
189
v-if ="drawerScope.currentStepId === 'step1' ">
189
190
</ el-checkbox >
196
197
v-model ="drawerScope.editedObject.links ">
197
198
</ star-consent-link >
198
199
< div class ="cly-vue-drawer-step__section ">
199
- < div class ="text-medium-big cly-vue-surveys-drawer--font -weight-medium bu-pb-2 bu-pt-4 ">
200
+ < div class ="text-medium-big bu-has-text -weight-medium bu-pb-2 bu-pt-4 ">
200
201
{{i18n('feedback.buttons.heading')}}
201
202
</ div >
202
203
< div class ="text-medium text-heading bu-mb-2 " data-test-id ="ratings-drawer-settings-button-callout-label ">
Original file line number Diff line number Diff line change @@ -73,7 +73,7 @@ const verifySettingsPageElements = ({
73
73
74
74
cy . verifyElement ( {
75
75
labelElement : feedbackRatingWidgetsPageElements . WIDGET_NAME_LABEL ,
76
- labelText : "surveys.drawer.internal.name " ,
76
+ labelText : "Internal Name " ,
77
77
element : feedbackRatingWidgetsPageElements . WIDGET_NAME_INPUT ,
78
78
value : widgetName ,
79
79
elementPlaceHolder : "Widget Name"
You can’t perform that action at this time.
0 commit comments