maliming
6 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
3 additions and
3 deletions
-
docs/en/Tutorials/Part-5.md
|
|
|
@ -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> |
|
|
|
```` |
|
|
|
|
|
|
|
|