<div class="row search-history-item">
    <div class="row-icon search-history-item__icon">
        <plane-icon
            *ngIf="item.type !== 'schedule-route'"
            pTooltip="{{ 'SHARED.LAST-SEARCH-BOARD' | translate }}"
            tooltipPosition="top"
            tooltipStyleClass="afl-tooltip"
        ></plane-icon>
        <alarm-clock-icon
            *ngIf="item.type === 'schedule-route'"
            pTooltip="{{ 'SHARED.LAST-SEARCH-SCHEDULE' | translate }}"
            tooltipPosition="top"
            tooltipStyleClass="afl-tooltip"
        ></alarm-clock-icon>
    </div>
    <div class="row-data search-history-item__data">
        <schedule-history-item
            *ngIf="item.type === 'schedule-route'"
            [item]="item"
        ></schedule-history-item>
        <online-board-history-item
            *ngIf="item.type !== 'schedule-route'"
            [item]="item"
        ></online-board-history-item>
    </div>
</div>
