diff --git a/application/Espo/Resources/i18n/en_US/WorkingTimeRange.json b/application/Espo/Resources/i18n/en_US/WorkingTimeRange.json index bb236bae1f..938656177b 100644 --- a/application/Espo/Resources/i18n/en_US/WorkingTimeRange.json +++ b/application/Espo/Resources/i18n/en_US/WorkingTimeRange.json @@ -23,5 +23,9 @@ }, "presetFilters": { "actual": "Actual" + }, + "tooltips": { + "calendars": "Calendars to apply the exception to. The exception will be applied to all users of selected calendars.\n\nLeave the field empty if you need to apply the exception only for specific users.", + "users": "Specific users to apply the exception to." } } diff --git a/application/Espo/Resources/layouts/WorkingTimeRange/detail.json b/application/Espo/Resources/layouts/WorkingTimeRange/detail.json index f74a975089..ccfc2151eb 100644 --- a/application/Espo/Resources/layouts/WorkingTimeRange/detail.json +++ b/application/Espo/Resources/layouts/WorkingTimeRange/detail.json @@ -11,10 +11,10 @@ ], [ {"name": "timeRanges"}, - {"name": "calendars"} + false ], [ - false, + {"name": "calendars"}, {"name": "users"} ], [ diff --git a/application/Espo/Resources/layouts/WorkingTimeRange/detailSmall.json b/application/Espo/Resources/layouts/WorkingTimeRange/detailSmall.json index 5b35c0348a..ccfc2151eb 100644 --- a/application/Espo/Resources/layouts/WorkingTimeRange/detailSmall.json +++ b/application/Espo/Resources/layouts/WorkingTimeRange/detailSmall.json @@ -10,10 +10,12 @@ {"name": "dateEnd"} ], [ - {"name": "timeRanges"} + {"name": "timeRanges"}, + false ], [ - {"name": "calendars"} + {"name": "calendars"}, + {"name": "users"} ], [ {"name": "description"} diff --git a/application/Espo/Resources/metadata/entityDefs/WorkingTimeRange.json b/application/Espo/Resources/metadata/entityDefs/WorkingTimeRange.json index ff90c74f22..65ba59e5af 100644 --- a/application/Espo/Resources/metadata/entityDefs/WorkingTimeRange.json +++ b/application/Espo/Resources/metadata/entityDefs/WorkingTimeRange.json @@ -31,11 +31,13 @@ "type": "text" }, "calendars": { - "type": "linkMultiple" + "type": "linkMultiple", + "tooltip": true }, "users": { "type": "linkMultiple", - "view": "views/working-time-range/fields/users" + "view": "views/working-time-range/fields/users", + "tooltip": true }, "createdAt": { "type": "datetime",