OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
use type for top color instead of status
Klaus Zanders81d8a60b5c25
diff --git a/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts b/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.tsindex 728e0c849f1..e1b537f6092 100644--- a/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts+++ b/frontend/src/stimulus/controllers/dynamic/my/time-tracking.controller.ts@@ -100,7 +100,7 @@ export default class MyTimeTrackingController extends Controller {eventClassNames(arg) {return ['calendar-time-entry-event',- `__hl_status_${arg.event.extendedProps.statusId}`,+ `__hl_type_${arg.event.extendedProps.typeId}`,'__hl_border_top','ellipsis',];diff --git a/modules/costs/lib/full_calendar/time_entry_event.rb b/modules/costs/lib/full_calendar/time_entry_event.rbindex 72bac191a54..1a4b89eb564 100644--- a/modules/costs/lib/full_calendar/time_entry_event.rb+++ b/modules/costs/lib/full_calendar/time_entry_event.rb@@ -50,7 +50,7 @@ module FullCalendardef additional_attributes{hours: time_entry.hours,- statusId: time_entry.work_package.status_id,+ typeId: time_entry.work_package.type_id,workPackageId: time_entry.work_package.id,workPackageSubject: time_entry.work_package.subject,projectId: time_entry.project.id,