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

@@ -620,6 +620,7 @@ CREATE TABLE `calcms_roles` (
`delete_audio_recordings` tinyint unsigned NOT NULL,
`read_playout` tinyint unsigned NOT NULL,
`create_download` tinyint unsigned NOT NULL,
`edit_help_texts` INT(1) UNSIGNED NOT NULL,
PRIMARY KEY (`id`),
UNIQUE KEY `role_2` (`role`),
KEY `project_id` (`project_id`),
@@ -1767,4 +1768,14 @@ UNLOCK TABLES;
/*!40101 SET COLLATION_CONNECTION=@OLD_COLLATION_CONNECTION */;
/*!40111 SET SQL_NOTES=@OLD_SQL_NOTES */;
-- Dump completed on 2023-02-19 23:01:42
-- Dump completed on 2023-02-19 23:01:42
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`));