Feature: Content templates of a company 

Description 

Admins word the fixed texts around adsum for their company in English and German: the notice on the login page, the header and footer of every e-mail, and the letterhead and footer of printable documents. A text is restricted Markdown with the placeholders its slot allows; anything else in double braces is refused naming its line and column. Every save is a new numbered draft (listContentTemplates, getContentTemplate, listContentTemplateVersions, createContentTemplateVersion). A version is activated at once or for a window in the company's time zone, archived, compared line by line with another and restored as a new draft (activateContentTemplateVersion, archiveContentTemplateVersion, diffContentTemplateVersions, restoreContentTemplateVersion). previewContentTemplate shows a text with sample data where it appears, and exportContentTemplates and importContentTemplates move the texts to another company as drafts. A save based on an older version than the newest is answered with 412 and the newer version instead of locking the text. Admins are told when a scheduled text starts (contentTemplate.scheduledActivated), and packages read the texts through the contract CompanyTexts.

Impact 

A migration adds when the start of a scheduled version was announced. The worker of the recurring jobs announces started versions every five minutes. Changes of the versions are recorded in the change history.