Permalink
Browse files

Wrong threshold value for failed jobs (#132)

* Fixed wrong threshold value for failed jobs: landing page used to show jobs with a fail rate of 1-19% as warning but the correct value is 1-20%.
Fixed: wrong hover for warning elements

* Fixed wrong threshold value for failed jobs: landing page showed jobs with a
  • Loading branch information...
zzzFelix authored and sburnicki committed Dec 3, 2018
1 parent adf4116 commit 376ff8f4a996e84903065e77c4403838337fa4ec
@@ -38,8 +38,8 @@ <h2>{{ 'frontend.de.iteratec.osm.landing.healthIssues' | translate }}</h2>
<p class="applicationName">{{ application }} </p>
<ul class="clickable-list">
<li *ngFor="let failingJob of failingJobs[application]"
[class.error]="failingJob.percentageFailLast5 >= 20"
[class.warning]="failingJob.percentageFailLast5 < 20">
[class.error]="failingJob.percentageFailLast5 > 20"
[class.warning]="failingJob.percentageFailLast5 <= 20">
<a href="/jobResult/listFailed?jobId={{failingJob.job_id}}">
<aside class="percentage-aside">
<p class="percentage percentage-big">{{ failingJob.percentageFailLast5 }}%</p>
@@ -95,6 +95,6 @@
}

li.warning:hover {
background: darken($color-error-light, 5);
background: darken($color-warning-light, 5);
}
}

0 comments on commit 376ff8f

Please sign in to comment.