mirror of
https://github.com/Alfresco/alfresco-ng2-components.git
synced 2025-07-24 17:32:15 +00:00
[ADF-2526] Fixed interpolation marker issue in doc files (#3098)
* [ADF-2526] Test commit of a file with escape tags * [ADF-2526] Fixed interpolation marker issue in doc code samples
This commit is contained in:
committed by
Eugenio Romano
parent
f5d58178db
commit
347b2bb5e8
@@ -43,6 +43,8 @@ export class SomeComponent implements OnInit {
|
||||
|
||||
In the component template use the people list component:
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-people-list
|
||||
[users]="people"
|
||||
@@ -64,6 +66,8 @@ In the component template use the people list component:
|
||||
</adf-people-list>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
||||
Note that the people list component is based on the
|
||||
[Datatable component](../core/datatable.component.md).
|
||||
|
||||
|
@@ -28,6 +28,8 @@ Searches users/people.
|
||||
|
||||
## Details
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-people-search
|
||||
(searchPeople)="searchUser($event)"
|
||||
@@ -38,3 +40,5 @@ Searches users/people.
|
||||
<action-button-label>{{ 'PEOPLE.ADD_USER' | translate }}</action-button-label>
|
||||
</adf-people-search>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
@@ -59,6 +59,8 @@ export class MyCustomProcessAttachmentComponent {
|
||||
|
||||
If we want user to be able to upload attachments for empty lists, We can wrap our component with upload drag area component. In that case, We should also pass a custom _no content template_ as shown below with our component urging the user to drag files to upload whenever the list is empty.
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-upload-drag-area
|
||||
[parentId]="YOUR_PROCESS_ID"
|
||||
@@ -78,6 +80,8 @@ If we want user to be able to upload attachments for empty lists, We can wrap ou
|
||||
</adf-upload-drag-area>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
||||
If the List is empty, the custom no-content template we passed is displayed.
|
||||
|
||||

|
||||
|
@@ -73,6 +73,8 @@ You can also use both HTML-based and app.config.json custom schema declaration a
|
||||
}
|
||||
```
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-process-instance-list
|
||||
[appId]="'1'"
|
||||
@@ -87,6 +89,8 @@ You can also use both HTML-based and app.config.json custom schema declaration a
|
||||
</adf-process-instance-list>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
||||
### Pagination strategy
|
||||
|
||||
adf-process-instance-list also supports pagination and the same can be used as shown below.
|
||||
|
@@ -46,6 +46,8 @@ to enable the user to upload attachments for empty lists. When you do this, you
|
||||
a custom _no content template_ as shown below. The component invites the user to drag files to
|
||||
upload whenever the list is empty.
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-upload-drag-area
|
||||
[parentId]="YOUR_TASK_ID"
|
||||
@@ -63,6 +65,8 @@ upload whenever the list is empty.
|
||||
</adf-upload-drag-area>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
||||
```ts
|
||||
import { UploadService } from '@alfresco/adf-core';
|
||||
import { TaskUploadService } from '@alfresco/adf-process-services';
|
||||
|
@@ -151,6 +151,8 @@ You can use an HTML-based schema and an `app.config.json` custom schema declarat
|
||||
}
|
||||
```
|
||||
|
||||
<!-- {% raw %} -->
|
||||
|
||||
```html
|
||||
<adf-tasklist
|
||||
[appId]="'1'"
|
||||
@@ -165,6 +167,8 @@ You can use an HTML-based schema and an `app.config.json` custom schema declarat
|
||||
</adf-tasklist>
|
||||
```
|
||||
|
||||
<!-- {% endraw %} -->
|
||||
|
||||
### Pagination strategy
|
||||
|
||||
The Tasklist also supports pagination as shown in the example below:
|
||||
|
Reference in New Issue
Block a user