Skip to content

Commit

Permalink
Merge branch '1.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
Sanjeev Papnoi committed Nov 12, 2020
2 parents d2672e4 + a87799a commit 82152e6
Show file tree
Hide file tree
Showing 7 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion Resources/views/Agents/createSupportAgent.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -368,7 +368,7 @@
required: true,
msg: '{{ "This field is mandatory" | trans}}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "This is not a valid email address" | trans}}'
}],
'user_form[contactNumber]': function(value) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Agents/updateSupportAgent.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@
required: true,
msg: '{{ "This field is mandatory"|trans }}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "This is not a valid email address"|trans }}'
}],
'user_form[contactNumber]': function(value) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Customers/createSupportCustomer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -154,7 +154,7 @@
required: true,
msg: '{{ "This field is mandatory"|trans }}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "Email address is invalid"|trans }}'
}],
'customer_form[contactNumber]': function(value) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Customers/updateSupportCustomer.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@
required: true,
msg: '{{ "This field is mandatory"|trans }}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "Email address is invalid"|trans }}'
}],
'customer_form[contactNumber]': function(value) {
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/Snippets/createMemberTicket.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -116,7 +116,7 @@
required : true,
msg : "{{ 'This field is mandatory'|trans }}"
},{
pattern : /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern : /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg : "{{ 'Email address is invalid'|trans }}"
}],
{% endif %}
Expand Down
2 changes: 1 addition & 1 deletion Resources/views/SwiftMailer/manageConfigurations.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -248,7 +248,7 @@
msg: '{{ "Please specify a valid email address"|trans }}'
},
{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "Please specify a valid email address"|trans }}'
}
],
Expand Down
6 changes: 3 additions & 3 deletions Resources/views/ticket.html.twig
Original file line number Diff line number Diff line change
Expand Up @@ -1403,7 +1403,7 @@
required: true,
msg: '{{ "This field is mandatory" | trans}}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: 'Please enter a valid email'
}],
'subject' : {
Expand Down Expand Up @@ -1448,7 +1448,7 @@
required: true,
msg: '{{ "This field is mandatory" | trans}}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "Email address is invalid" | trans}}'
}],
'contactNumber': function(value) {
Expand All @@ -1469,7 +1469,7 @@
required: true,
msg: '{{ "This field is mandatory" | trans}}'
},{
pattern: /^([\w-\.]+)@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.)|(([\w-]+\.)+))([a-zA-Z]{2,4}|[0-9]{1,3})(\]?)$/,
pattern: /^[a-zA-Z0-9.!#$%&'*+\/=?^_`{|}~-]+@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/,
msg: '{{ "Please enter a valid email" | trans}}'
}]
},
Expand Down

0 comments on commit 82152e6

Please sign in to comment.