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

461 B
Raw Blame
@if (displayWatchButton) {
  <button
    (click)="toggleWatch()"
    [attr.title]="buttonTitle"
    [disabled]="disabled"
    [ngClass]="buttonClass"
    class="button toolbar-icon"
    [id]="buttonId">
    @if (watched) {
      <svg
        eye-icon
        class="button--icon"
        size="small"
      ></svg>
    }
    @if (!watched) {
      <svg
        eye-closed-icon
        class="button--icon"
        size="small"
      ></svg>
    }
  </button>
}