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>
|
||||
</article>
|
||||
|
||||
<article class="padding-top-bottom">
|
||||
<article class="padding-top-bottom" *ngIf="license">
|
||||
<header class="header padding-left-right">License</header>
|
||||
<adf-datatable [data]="license"></adf-datatable>
|
||||
</article>
|
||||
|
@ -70,6 +70,8 @@ export class AboutComponent implements OnInit {
|
||||
{type: 'text', key: 'isThumbnailGenerationEnabled', title: 'Thumbnail Generation', sortable: true}
|
||||
]);
|
||||
|
||||
|
||||
if (repository.license) {
|
||||
this.license = new ObjectDataTableAdapter([repository.license], [
|
||||
{type: 'date', key: 'issuedAt', title: 'Issued At', sortable: true},
|
||||
{type: 'date', key: 'expiresAt', title: 'Expires At', sortable: true},
|
||||
@ -79,6 +81,7 @@ export class AboutComponent implements OnInit {
|
||||
{type: 'text', key: 'isClusterEnabled', title: 'Cluster Enabled', sortable: true},
|
||||
{type: 'text', key: 'isCryptodocEnabled', title: 'Cryptodoc Enable', sortable: true}
|
||||
]);
|
||||
}
|
||||
});
|
||||
|
||||
this.http.get('/versions.json')
|
||||
|
Loading…
x
Reference in New Issue
Block a user