Update Part-5.md

pull/4700/head
maliming 6 years ago committed by GitHub
parent 149d7ebcd1
commit 84168daa1e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -366,7 +366,7 @@ Open the `/src/app/book/book.component.html` file and replace the create button
<!-- Add the abpPermission directive -->
<button abpPermission="BookStore.Books.Create" id="create" class="btn btn-primary" type="button" (click)="createBook()">
<i class="fa fa-plus mr-1"></i>
<span>{{ '::NewBook' | abpLocalization }}</span>
<span>{%{{{ '::NewBook' | abpLocalization }}}%}</span>
</button>
````
@ -385,12 +385,12 @@ Open the `/src/app/book/book.component.html` file and replace the edit and delet
````html
<!-- Add the abpPermission directive -->
<button abpPermission="BookStore.Books.Edit" ngbDropdownItem (click)="editBook(row.id)">
{{ '::Edit' | abpLocalization }}
{%{{{ '::Edit' | abpLocalization }}}%}
</button>
<!-- Add the abpPermission directive -->
<button abpPermission="BookStore.Books.Delete" ngbDropdownItem (click)="delete(row.id)">
{{ 'AbpAccount::Delete' | abpLocalization }}
{%{{{ 'AbpAccount::Deletet' | abpLocalization }}}%}
</button>
````

Loading…
Cancel
Save