forked from canonical/checkbox
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add template-summary and template-description fields to the Template …
…Unit (New) (canonical#985) * Add template-summary and template-description fields and validators Add two fields for the Template Unit: - template-summary - template-description These fields mimick the summary and description fields of the Job Unit to provide a quick explanation and a longer form one about what a template unit does. Both these fields are translatable, and validation is added for the template-summary field to make sure if a value is provided, it is one line only and is less than 80 characters. * Add unit tests for the new Template Unit fields * Update Template Unit documentation * Add unit tests for the translation methods of the new fields
- Loading branch information
Showing
3 changed files
with
154 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters