[ADF-1950] Not able to open an attached file within a Task. (#2654)

* [ADF-1950] Not able to open an attached file within a Task.

* Changed data-column key 'icon' to 'image' in task/process  attachment file component.
* Refactored activiti-component.
* Used Adf-viewer to view the attached documents.

* [ADF-1950] Not able to open an attached file within a Task.

* Centralized the use of the adf-viewer component in the activiti component (demo shell folder).
This commit is contained in:
siva kumar
2017-11-20 17:42:21 +05:30
committed by Eugenio Romano
parent edaa442e18
commit 47f5a5ddfb
5 changed files with 9 additions and 7 deletions

View File

@@ -11,7 +11,7 @@
</div>
</adf-empty-list>
<data-columns>
<data-column key="icon" type="icon" srTitle="ADF_TASK_LIST.PROPERTIES.THUMBNAIL" [sortable]="false"></data-column>
<data-column key="icon" type="image" srTitle="ADF_TASK_LIST.PROPERTIES.THUMBNAIL" [sortable]="false"></data-column>
<data-column key="name" type="text" title="ADF_TASK_LIST.PROPERTIES.NAME" class="full-width ellipsis-cell" [sortable]="true"></data-column>
<data-column key="created" type="date" format="shortDate" title="ADF_TASK_LIST.PROPERTIES.CREATED"></data-column>
</data-columns>