Shortcuts @if (mode !== 'view') { @if (mode === 'add') { - Add new } @if (mode === 'modify' || mode === 'edit') { - Editing } }
@if (mode === 'view') {
} @if (mode === 'modify') {
} @if (mode === 'add') {
} @if (mode === 'edit') {
}
@if (mode === 'view' || mode === 'modify') {
@for ( shortcut of shortcuts; track trackByFn($index, shortcut) ) {
@if (mode === 'modify') {
} @if (!shortcut.useRouter) { } @if (shortcut.useRouter) { }
@if (mode === 'modify') { }
{{ shortcut.label }}
{{ shortcut.description }}
}
@if (!shortcuts || !shortcuts.length) {
No shortcuts
When you have shortcuts, they will appear here.
} } @if (mode === 'add' || mode === 'edit') { Label Description Icon Link Use router for the link
@if (mode === 'edit') {
}
}