Actions
Improvement #694
closedValidate hex colors of button blocks
Start date:
Due date:
% Done:
100%
Estimated time:
Compatible Redmine Version:
Pull Request Link:
Description
Check this regular expression:
/^#([A-Fa-f0-9]{6}|[A-Fa-f0-9]{3})$/i
and use it as follows:
validates :color, format: { with: /\A --expression-here-- \z/ }
Updated by liaham about 3 years ago
- Status changed from New to Closed
- Assignee set to liaham
- % Done changed from 0 to 100
Updated by liaham about 3 years ago
- Related to Feature #651: Provide a dashboard on the start page added
Actions