Files
agent/src/components/macro/edit/macro-edit.component.html
NejcZdovc b5eb8601e2 Add macro
2016-10-23 11:39:03 +02:00

17 lines
572 B
HTML

<template [ngIf]="macro">
<macro-header
[macro]="macro"
[isNew]="isNew"
></macro-header>
<macro-list
[macro]="macro"
(add)="addAction($event.macroId, $event.action)"
(edit)="editAction($event.macroId, $event.index, $event.action)"
(delete)="deleteAction($event.macroId, $event.index, $event.action)"
(reorder)="reorderAction($event.macroId, $event.oldIndex, $event.newIndex)"
></macro-list>
</template>
<div *ngIf="!macro" class="not-found">
Sorry, there is no macro with this id.
</div>