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

Last change on this file since bdd6491 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
RevLine 
[e29cc2e]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>
[8d391a1]9 <ng-template pTemplate="body" let-planner let-data>
[e29cc2e]10 <tr>
11 <td>{{planner.name}}</td>
12 <td>
[8d391a1]13 <button pButton pRipple type="button" icon="pi pi-heart" class="p-button-rounded p-button-help"
14 (click)="selectPlanner(planner)" ></button>
[e29cc2e]15 </td>
16 </tr>
17 </ng-template>
18</p-table>
19
Note: See TracBrowser for help on using the repository browser.