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

784 B
Raw Blame
<!-- position: relative added in order for the loading indicator to be positioned correctly -->
<div
  class="te-calendar--container loading-indicator--location"
  [attr.data-indicator-name]="'table'"
  style="position: relative"
  >
  @if (memoizedCreateAllowed) {
    <button
      class="button te-calendar--create-button"
      [attr.aria-label]="text.logTime"
      (click)="addEventToday()"
      >
      <op-icon icon-classes="button--icon icon-log_time" />
      <span
        class="button--text"
        [textContent]="text.logTime"
        aria-hidden="true"
      ></span>
    </button>
  }
  @if ((calendarOptions$ | async); as calendarOptions) {
    @if (calendarOptions) {
      <full-calendar #ucCalendar
        [options]="calendarOptions"
       />
    }
  }
</div>