UNPKG

fabric8-planner

Version:
40 lines (38 loc) 1.34 kB
<ul class="list-group margin-0"> <li class="list-group-item" *ngFor="let item of groupTypes"> <a class="f8-group-filter__type pointer" id="{{item.group}}" (click)="groupTypeClickHandler($event, item)" [class.selected]="item.selected" *ngIf="item.showInSideBar"> <span class="dib margin-right-10 {{ item.icon }}" tooltip="{{sidePanelOpen ? '' : item.name }}" placement="right"></span> <span [class.dib]="sidePanelOpen" [class.hide]="!sidePanelOpen"> {{ item.name }}</span> <infotip [infotipId]="'infotip-group-type-'+item.id" [class.dib]="sidePanelOpen" [class.hide]="!sidePanelOpen" [infotipText]="item.description"> </infotip> </a> <!--If group is execution show a header and then embed the iteration component --> <div *ngIf="item.bucket === 'iteration'"> <fab-planner-iteration class="fab-planner-iteration" [takeFromInput]="false" [collection]="item.typeList" [witGroup]="item" [showTree]="showTree" [showCompleted]="showCompleted" [sidePanelOpen]="sidePanelOpen" [infotipText]="getInfotipText(item.id) | async" [context]="context"> </fab-planner-iteration> </div> </li> </ul>