help-texts: add

users with permission edit_help_texts are allowed to select edit help
texts from menu and enter texts for all event fields. Other users will
see help texts as tooltips. This allows to provide help to users
depending on your workflow. help texts are saved by project and studio.
This commit is contained in:
Milan
2023-03-20 23:09:11 +01:00
parent 6e2a04dd94
commit 979377c31d
16 changed files with 447 additions and 2 deletions

View File

@@ -289,3 +289,15 @@ DROP INDEX `category` ;
;
ALTER TABLE calcms_user_series DROP COLUMN active;
CREATE TABLE `calcms_help_texts` (
`id` INT UNSIGNED NOT NULL AUTO_INCREMENT,
`project_id` INT UNSIGNED NOT NULL,
`studio_id` INT UNSIGNED NOT NULL,
`lang` VARCHAR(5) NOT NULL,
`table` VARCHAR(45) NOT NULL,
`column` VARCHAR(45) NOT NULL,
`text` TEXT(500) NOT NULL,
PRIMARY KEY (`id`));
ALTER TABLE `calcms_roles` ADD COLUMN `edit_help_texts` INT(1) UNSIGNED NOT NULL;