source: trip-planner-front/src/app/location/add-location-to-planner-panel/add-location-to-planner-panel.component.html@ 1ad8e64

Last change on this file since 1ad8e64 was 8d391a1, checked in by Ema <ema_spirova@…>, 3 years ago

disabling to add location if it already exists in the planner

  • Property mode set to 100644
File size: 665 bytes
Line 
1<p-table [value]="planners" [paginator]="true" [rows]="3" [responsive]="true">
2 <ng-template pTemplate="header">
3 <tr>
4 <th pSortableColumn="name">Name <p-sortIcon field="vin"></p-sortIcon>
5 </th>
6 <th style="width:4em"></th>
7 </tr>
8 </ng-template>
9 <ng-template pTemplate="body" let-planner let-data>
10 <tr>
11 <td>{{planner.name}}</td>
12 <td>
13 <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help"
14 (click)="selectPlanner(planner)" ></button>
15 </td>
16 </tr>
17 </ng-template>
18</p-table>
19
Note: See TracBrowser for help on using the repository browser.