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 | 8 | </span> |
|---|
| 9 | 9 | <td-search-box #searchBox class="push-right-sm" placeholder="Search here" (searchDebounce)="search($event)" flex> |
|---|
| 10 | 10 | </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')"> |
|---|
| 12 | 12 | <md-icon>add</md-icon> |
|---|
| 13 | 13 | </button> |
|---|
| 14 | 14 | </md-toolbar> |
|---|
| .. | .. |
|---|
| 35 | 35 | </template> |
|---|
| 36 | 36 | <template tdDataTableTemplate="menu" let-row="row" let-index="index"> |
|---|
| 37 | 37 | <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> |
|---|
| 39 | 39 | <button md-icon-button [mdMenuTriggerFor]="packMenu" aria-label="Pack menu"> |
|---|
| 40 | 40 | <md-icon>more_vert</md-icon> |
|---|
| 41 | 41 | </button> |
|---|