Browse Source

Update Part-5.md

pull/4701/head
maliming 6 years ago
committed by GitHub
parent
commit
84168daa1e
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      docs/en/Tutorials/Part-5.md

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

Loading…
Cancel
Save