1
0
mirror of https://github.com/ansible/awx.git synced 2024-10-31 06:51:10 +03:00

Only show the character limit if the user exceeds it

This commit is contained in:
kialam 2018-08-03 15:32:55 -04:00
parent 7207d7caf4
commit 0fb98642d4

View File

@ -232,7 +232,8 @@ function(NotificationsList, i18n) {
helperText: {
classCondition: 'job_template_labels_isValid === true',
ngClass: 'at-InputLabel--error',
text: i18n._('Max 512 Char'),
ngShow: 'job_template_labels_isValid !== true',
text: i18n._('Max 512 Characters'),
},
ngDisabled: '!(job_template_obj.summary_fields.user_capabilities.edit || canAddJobTemplate)'
},