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

Working with a icon-void and margin-left on the column header

Aleix Suau176d4e8033db
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 f3408f61a68..cd4578e08ac 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
@@ -44,9 +44,7 @@ export class DateDisplayField extends HighlightableDisplayField {
const schedulingIcon = document.createElement('span');
schedulingIcon.classList.add('icon-context');
- if (this.resource.scheduleManually) {
- schedulingIcon.classList.add('icon-pin');
- }
+ schedulingIcon.classList.add(this.resource.scheduleManually ? 'icon-pin' : 'icon-void');
element.prepend(schedulingIcon);
}
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index ab114006c6a..3abbfea871c 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -260,6 +260,8 @@ thead.-sticky th
flex: 0 0 0
padding-left: 15px
+ #startDate
+ margin-left: 24px
.generic-table--sort-header-outer
.dropdown-indicator
diff --git a/frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass b/frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass
index 93d5ee9acae..8f9aafcc3b6 100644
--- a/frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass
+++ b/frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass
@@ -100,6 +100,14 @@
.-placeholder
@include wp-table--placeholder-time-values
+.wp-table--cell-container .startDate .icon-void
+ width: 24px
+ display: inline-block
+
+.wp-table--cell-container .dueDate .icon-pin
+ display: none
+
+
// Sums in wp table
.wp-table--sum-container.split-time-field
.-actual-value