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

1.6 KB
Raw Blame
<div>
  <form>
    <p [textContent]="text.highlighting_mode.description"></p>

    <div class="form--field -full-width">
      <div class="form--field-container">
        <label class="option-label">
          <input type="radio"
                 [(ngModel)]="entireCardMode"
                 (change)="updateMode('inline')"
                 [value]="true"
                 name="entire_card_switch">
          <span [textContent]="text.highlighting_mode.entire_card_by"></span>
          &ngsp;
          <select (change)="updateMode($event.target.value)"
                  id="selected_attribute"
                  name="selected_attribute"
                  class="form--select form--inline-select option-label--select">
            <option [textContent]="text.highlighting_mode.type"
                    [selected]="lastEntireCardAttribute === 'type'"
                    value="type"></option>
            <option [textContent]="text.highlighting_mode.priority"
                    [selected]="lastEntireCardAttribute === 'priority'"
                    value="priority"></option>
          </select>
        </label>
      </div>
    </div>
    <div class="form--field -full-width">
      <div class="form--field-container">
        <label class="option-label">
          <input type="radio"
                 [(ngModel)]="highlightingMode"
                 (change)="updateMode($event.target.value)"
                 value="none"
                 name="highlighting_mode_switch">
          <span [textContent]="text.highlighting_mode.none"></span>
        </label>
      </div>
    </div>

  </form>
</div>