From acde471634452a953a027dc57c5119527f027af2 Mon Sep 17 00:00:00 2001 From: Fahri Gedik Date: Mon, 26 Aug 2024 14:50:32 +0300 Subject: [PATCH 1/2] Fix Document --- docs/en/Tutorials/Angular/Part-I.md | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/docs/en/Tutorials/Angular/Part-I.md b/docs/en/Tutorials/Angular/Part-I.md index 88b5c8539e..6654694abe 100644 --- a/docs/en/Tutorials/Angular/Part-I.md +++ b/docs/en/Tutorials/Angular/Part-I.md @@ -608,6 +608,7 @@ export class BookListComponent implements OnInit { Replace `book-list.component.html` content as shown below: +{%{ ```html
@@ -631,16 +632,17 @@ Replace `book-list.component.html` content as shown below: - {{ data.name }} - {{ booksType[data.type] }} - {{ data.publishDate | date }} - {{ data.price }} + {{ data.name }} + {{ booksType[data.type] }} + {{ data.publishDate | date }} + {{ data.price }}
``` +}%} > We've used [PrimeNG table](https://www.primefaces.org/primeng/#/table) in this component. From f0608027b6f49fd9a50567bd5c20b4255385d491 Mon Sep 17 00:00:00 2001 From: Fahri Gedik Date: Mon, 26 Aug 2024 14:56:01 +0300 Subject: [PATCH 2/2] Fix Document --- docs/en/Tutorials/Angular/Part-II.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/en/Tutorials/Angular/Part-II.md b/docs/en/Tutorials/Angular/Part-II.md index ed6afcb947..908bca63e6 100644 --- a/docs/en/Tutorials/Angular/Part-II.md +++ b/docs/en/Tutorials/Angular/Part-II.md @@ -427,6 +427,7 @@ save() { Open the `book-list.component.html` and add modify the `p-table` as shown below: +{%{ ```html @@ -463,6 +464,7 @@ Open the `book-list.component.html` and add modify the `p-table` as shown belo ``` +}%} - Added a `th` for the "Actions" column. - Added `button` with `ngbDropdownToggle` to open actions when clicked the button. @@ -475,11 +477,13 @@ The final UI looks like: Update the modal header to change the title based on the current operation: +{%{ ```html

{{ selectedBook.id ? 'Edit' : 'New Book' }}

``` +}%} ![actions-buttons](images/bookstore-edit-modal.png)