[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:
Andy Stark
2018-03-20 14:03:12 +00:00
committed by Eugenio Romano
parent f5d58178db
commit 347b2bb5e8
19 changed files with 108 additions and 0 deletions

View File

@@ -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).

View File

@@ -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 %} -->

View File

@@ -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.
![custom-no-content-drag-drop-template-sample](../docassets/images/custom-no-content-drag-drop-template.png)

View File

@@ -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.

View File

@@ -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';

View File

@@ -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: