rsanchez
2017-03-19 280daa7f3f858ecfef9c91ffd5dea1007f021048
securis/src/main/webapp/src/app/pack.list.component.html
similarity index 92%rename from securis/src/main/webapp/src/app/pack.list.component.htmlrename to securis/src/main/webapp/src/app/listing/pack.list.component.html
....@@ -8,7 +8,7 @@
88 </span>
99 <td-search-box #searchBox class="push-right-sm" placeholder="Search here" (searchDebounce)="search($event)" flex>
1010 </td-search-box>
11
- <button md-mini-fab color="accent" (click)="createPack()">
11
+ <button md-mini-fab color="accent" (click)="create()" [mdTooltip]="$L.get('Create a new pack')">
1212 <md-icon>add</md-icon>
1313 </button>
1414 </md-toolbar>
....@@ -35,7 +35,7 @@
3535 </template>
3636 <template tdDataTableTemplate="menu" let-row="row" let-index="index">
3737 <div layout="row" layout-align="end center">
38
- <button md-icon-button (click)="editPack(row)" color="primary"><md-icon>edit</md-icon></button>
38
+ <button md-icon-button (click)="edit(row.id)" color="primary"><md-icon>edit</md-icon></button>
3939 <button md-icon-button [mdMenuTriggerFor]="packMenu" aria-label="Pack menu">
4040 <md-icon>more_vert</md-icon>
4141 </button>