Skip to content

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

Show only manual scheduling icon and only on the start date

Aleix Suauc1e47eaf88fc
diff --git a/frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts b/frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts
index 339a03807bf..f3408f61a68 100644
--- a/frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts
+++ b/frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts
@@ -43,7 +43,10 @@ export class DateDisplayField extends HighlightableDisplayField {
if (this.showSchedulingMode()) {
const schedulingIcon = document.createElement('span');
schedulingIcon.classList.add('icon-context');
- schedulingIcon.classList.add(this.resource.scheduleManually ? 'icon-pin' : 'icon-arrow-left-right');
+
+ if (this.resource.scheduleManually) {
+ schedulingIcon.classList.add('icon-pin');
+ }
element.prepend(schedulingIcon);
}