This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
Commit 76ee7358 authored by Eduard Frankford's avatar Eduard Frankford
Browse files

fixed deploymentinfo polling

parent f59a5f84
Branches
5 merge requests!132Bringing July Release to production,!128Fixing #315 and #319,!126Continous Deployment with E2E Tests,!125Publish docker image,!119Publish docker image
...@@ -2,14 +2,8 @@ ...@@ -2,14 +2,8 @@
<div class="footer fixed-bottom"> <div class="footer fixed-bottom">
<div class="container"> <div class="container">
<div class="row"> <div class="row">
<div <div class="position-absolute" style="right: 0px; padding-right: 10px; font-size: small" *ngIf="deploymentInfo?.branch">
class="position-absolute" {{ deploymentInfo?.branch }}/{{ deploymentInfo?.commitId }} ({{ deploymentInfo?.deploymentDate }})
style="right: 0px; padding-right: 10px; font-size: small"
*ngIf="applicationInfoService.getDeploymentInfo().branch"
>
{{ applicationInfoService.getDeploymentInfo().branch }}/{{ applicationInfoService.getDeploymentInfo().commitId }} ({{
applicationInfoService.getDeploymentInfo().deploymentDate
}})
</div> </div>
<div class="col-4"> <div class="col-4">
<a href="https://codeability.uibk.ac.at/" title="test" jhiTranslate="global.footer.about">About codeAbility</a> <a href="https://codeability.uibk.ac.at/" title="test" jhiTranslate="global.footer.about">About codeAbility</a>
......
import { Component } from '@angular/core'; import { Component, OnInit } from '@angular/core';
import { ApplicationInfoService } from 'app/core/application/applicationInfo.service'; import { ApplicationInfoService, DeploymentInfo } from 'app/core/application/applicationInfo.service';
@Component({ @Component({
selector: 'jhi-footer', selector: 'jhi-footer',
templateUrl: './footer.component.html', templateUrl: './footer.component.html',
}) })
export class FooterComponent { export class FooterComponent implements OnInit {
deploymentInfo?: DeploymentInfo;
constructor(public applicationInfoService: ApplicationInfoService) {} constructor(public applicationInfoService: ApplicationInfoService) {}
ngOnInit(): void {
this.deploymentInfo = this.applicationInfoService.getDeploymentInfo();
}
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment