SHARE
TWEET

Untitled

a guest Jun 20th, 2019 66 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <ng-template pTemplate="body" let-rowData let-columns="columns" let-rowIndex="rowIndex">
  2.           <tr [pSelectableRow]="rowData" [pSelectableRowIndex]="rowIndex ">
  3.             <td *ngFor="let col of columns">
  4.               <span *ngIf="col.field !=='URLS' && col.field !=='idPublicador'">{{rowData[col.field]}}</span>
  5.               <span *ngIf="col.field=='URLS'">
  6.                 <div *ngFor="let url of rowData.urls | Filtering:searchTerm">
  7.                   <p>{{rowData[col.field]}}</p>
  8.                 </div>
  9.               </span>
  10.               <span *ngIf="col.field =='idPublicador'">
  11.                 <p class="text-center">{{rowData[col.field]}}</p>
  12.               </span>
  13.  
  14.             </td>
  15.           </tr>
  16.         </ng-template>
  17.         <ng-template pTemplate="emptymessage" let-columns>
  18.           <tr>
  19.             <td [attr.colspan]="columns.length">
  20.               No se han encontrado registros.
  21.             </td>
  22.           </tr>
  23.         </ng-template>
  24.         <ng-template pTemplate="paginatorleft">
  25.           <div class="mostrar">
  26.             <label class="mt-2 pr-3 registros-totales">Mostrando registros del {{table.first + 1}} al {{table.first + table.rows}} de un total de {{table.totalRecords}}</label>
  27.             <label>{{'tabla.mensaje.mostrar' | translate}}</label>
  28.             <p-dropdown [(ngModel)]="selectedItem" [options]="rowsPerPage" (onChange)="onChangeRowsPerPages($event)"></p-dropdown>
  29.             <label>{{'tabla.mensaje.registros' | translate}}</label>
  30.           </div>
  31.         </ng-template>
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
Not a member of Pastebin yet?
Sign Up, it unlocks many cool features!
 
Top