mirror of
https://github.com/Alfresco/alfresco-content-app.git
synced 2025-05-26 17:24:45 +00:00
check repository licence (#478)
This commit is contained in:
parent
19ffa4c4bb
commit
ac6b1b16e0
@ -6,7 +6,7 @@
|
|||||||
<p class="padding-left"> version: {{ repository.edition }} {{ repository.version.display }} </p>
|
<p class="padding-left"> version: {{ repository.edition }} {{ repository.version.display }} </p>
|
||||||
</article>
|
</article>
|
||||||
|
|
||||||
<article class="padding-top-bottom">
|
<article class="padding-top-bottom" *ngIf="license">
|
||||||
<header class="header padding-left-right">License</header>
|
<header class="header padding-left-right">License</header>
|
||||||
<adf-datatable [data]="license"></adf-datatable>
|
<adf-datatable [data]="license"></adf-datatable>
|
||||||
</article>
|
</article>
|
||||||
|
@ -70,15 +70,18 @@ export class AboutComponent implements OnInit {
|
|||||||
{type: 'text', key: 'isThumbnailGenerationEnabled', title: 'Thumbnail Generation', sortable: true}
|
{type: 'text', key: 'isThumbnailGenerationEnabled', title: 'Thumbnail Generation', sortable: true}
|
||||||
]);
|
]);
|
||||||
|
|
||||||
this.license = new ObjectDataTableAdapter([repository.license], [
|
|
||||||
{type: 'date', key: 'issuedAt', title: 'Issued At', sortable: true},
|
if (repository.license) {
|
||||||
{type: 'date', key: 'expiresAt', title: 'Expires At', sortable: true},
|
this.license = new ObjectDataTableAdapter([repository.license], [
|
||||||
{type: 'text', key: 'remainingDays', title: 'Remaining Days', sortable: true},
|
{type: 'date', key: 'issuedAt', title: 'Issued At', sortable: true},
|
||||||
{type: 'text', key: 'holder', title: 'Holder', sortable: true},
|
{type: 'date', key: 'expiresAt', title: 'Expires At', sortable: true},
|
||||||
{type: 'text', key: 'mode', title: 'Type', sortable: true},
|
{type: 'text', key: 'remainingDays', title: 'Remaining Days', sortable: true},
|
||||||
{type: 'text', key: 'isClusterEnabled', title: 'Cluster Enabled', sortable: true},
|
{type: 'text', key: 'holder', title: 'Holder', sortable: true},
|
||||||
{type: 'text', key: 'isCryptodocEnabled', title: 'Cryptodoc Enable', sortable: true}
|
{type: 'text', key: 'mode', title: 'Type', sortable: true},
|
||||||
]);
|
{type: 'text', key: 'isClusterEnabled', title: 'Cluster Enabled', sortable: true},
|
||||||
|
{type: 'text', key: 'isCryptodocEnabled', title: 'Cryptodoc Enable', sortable: true}
|
||||||
|
]);
|
||||||
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
this.http.get('/versions.json')
|
this.http.get('/versions.json')
|
||||||
|
Loading…
x
Reference in New Issue
Block a user