<div class="about-container">
    <h3>Server settings</h3>
    <mat-list>
        <small>The values below are taken from the AppConfigService </small>
        <mat-list-item>
            <h4 matLine> Alfresco Process Services URL: {{ bpmHost }}</h4>
        </mat-list-item>
        <mat-divider></mat-divider>
        <mat-list-item>
            <h4 matLine>Alfresco Content Services URL: {{ ecmHost }}</h4>
        </mat-list-item>
    </mat-list>

    <h3>Product Versions</h3>
    <div *ngIf="bpmVersion">
        <h3>BPM</h3>
        <label> Edition </label> {{ bpmVersion.edition }}
        <p></p>
        <label> Version </label> {{ bpmVersion.majorVersion }}.{{ bpmVersion.minorVersion }}.{{ bpmVersion.revisionVersion }}
    </div>
    <div *ngIf="ecmVersion">
        <h3>ECM</h3>
        <label> Edition </label> {{ ecmVersion.edition }}
        <p></p>
        <label> Version </label> {{ ecmVersion.version.display }}
        <p></p>
        <h4>License</h4>
        <adf-datatable [data]="license"></adf-datatable>

        <h4> Status</h4>
        <adf-datatable [data]="status"></adf-datatable>

        <h4>Modules</h4>

        <adf-datatable [data]="modules"></adf-datatable>
    </div>

    <div *ngIf="githubUrlCommitAlpha">
        <h3>Source code</h3>
        <small>You are running the project based on the following commit:</small>
        <div>
            <a [href]="githubUrlCommitAlpha">{{githubUrlCommitAlpha}}</a>
        </div>
    </div>

    <h3>Packages</h3>
    <small>Current project is using the following ADF libraries:</small>
    <adf-datatable [data]="data"></adf-datatable>
</div>
