cleanup about page (#717)

This commit is contained in:
Denys Vuika 2018-10-15 15:20:46 +01:00 committed by GitHub
parent 59841a3b81
commit 65ccbec5b8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 28 additions and 42 deletions

View File

@ -1,48 +1,36 @@
<div class="inner-layout inner-layout--scroll">
<div class="inner-layout__content">
<div class="inner-layout__panel content--scroll">
<article *ngIf="repository" class="padding">
<header class="header padding-left">Alfresco Content Services</header>
<p class="padding-left"> version: {{ repository.edition }} {{ repository.version.display }} </p>
</article>
<div class="inner-layout__content">
<div class="inner-layout__panel content--scroll">
<article class="padding">
<header class="header padding-left">Alfresco Content Application</header>
<p class="padding-left"> version: {{ releaseVersion }} </p>
</article>
<article class="padding-top-bottom" *ngIf="license">
<header class="header padding-left-right">License</header>
<adf-datatable [data]="license"></adf-datatable>
</article>
<article *ngIf="repository" class="padding">
<header class="header padding-left">Alfresco Content Services</header>
<p class="padding-left"> version: {{ repository.edition }} {{ repository.version.display }} </p>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Status</header>
<adf-datatable [data]="status"></adf-datatable>
</article>
<article class="padding-top-bottom" *ngIf="license">
<header class="header padding-left-right">License</header>
<adf-datatable [data]="license"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Modules</header>
<adf-datatable [data]="modules"></adf-datatable>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Status</header>
<adf-datatable [data]="status"></adf-datatable>
</article>
<article class="padding">
<header class="header padding-left">Alfresco Content Application</header>
<p class="padding-left"> version: {{ releaseVersion }} </p>
</article>
<article class="padding-top-bottom">
<header class="header padding-left-right">Modules</header>
<adf-datatable [data]="modules"></adf-datatable>
</article>
<article *ngIf="githubUrlCommitAlpha" class="padding">
<header class="header">Source code</header>
<small>You are running the project based on the following commit:</small>
<p>
<a [href]="githubUrlCommitAlpha" target="blank">{{githubUrlCommitAlpha}}</a>
</p>
</article>
<article>
<header class="header padding-left-right">Packages</header>
<small class="padding-left-right">Current project is using the following ADF libraries:</small>
<adf-datatable [data]="data"></adf-datatable>
</article>
</div>
<article>
<header class="header padding-left-right">Packages</header>
<small class="padding-left-right">Current project is using the following ADF libraries:</small>
<adf-datatable [data]="data"></adf-datatable>
</article>
</div>
</div>
</div>

View File

@ -40,8 +40,6 @@ export class AboutComponent implements OnInit {
status: ObjectDataTableAdapter;
license: ObjectDataTableAdapter;
modules: ObjectDataTableAdapter;
githubUrlCommitAlpha =
'https://github.com/Alfresco/alfresco-content-app/commits';
releaseVersion = '';
constructor(