Merge pull request #8599 from opf/feature/34058-scheduling-mode-icon-changes

Show only manual scheduling icon and only on the start date
pull/8614/head
Aleix Suau 4 years ago committed by GitHub
commit d66719a52a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      frontend/src/app/modules/fields/display/field-types/date-display-field.module.ts
  2. 2
      frontend/src/global_styles/content/_table.sass
  3. 14
      frontend/src/global_styles/content/work_packages/inplace_editing/_display_fields.sass

@ -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);
}

@ -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

@ -100,6 +100,20 @@
.-placeholder
@include wp-table--placeholder-time-values
.wp-table--cell-container .dueDate .icon-pin
display: none
.wp-table--cell-container.startDate
padding-left: 24px
.icon-context
position: relative
.icon-pin:before
position: absolute
left: -24px
top: -8px
// Sums in wp table
.wp-table--sum-container.split-time-field
.-actual-value

Loading…
Cancel
Save