add templating of panelButtonText for ratings

This commit is contained in:
2026-03-12 17:04:08 +06:00
parent 028f1f48e8
commit f06d91e38f
2 changed files with 62 additions and 12 deletions

View File

@@ -42,8 +42,10 @@
},
"autoAttach": true,
"ratingOfferText": "What do you think about it?",
"panelButtonText": "Ratings ${attached_symbol}",
"ratingEnabledStyle": "success",
"ratingDisabledStyle": "danger"
"ratingDisabledStyle": "danger",
"_note": "For panelButtonText you may use two control symbols: ${attached_symbol} to attach icon about enabled state and ${rating} to enable rating showing in button"
},
"selector": {
"items": [