Merge pull request #1242 from Alfresco/dev-mvitale-1220

Analitycs heading
This commit is contained in:
Mario Romano
2016-12-14 11:08:09 +00:00
committed by GitHub
4 changed files with 4 additions and 4 deletions

View File

@@ -1,4 +1,4 @@
<h2>Process Heat map</h2> <h4>Process Heat map</h4>
<div *ngIf="hasMetric()"> <div *ngIf="hasMetric()">
<form [formGroup]="metricForm" novalidate> <form [formGroup]="metricForm" novalidate>
<dropdown-widget [field]="field" [group]="metricForm.controls.metricGroup" [controllerName]="'metric'" <dropdown-widget [field]="field" [group]="metricForm.controls.metricGroup" [controllerName]="'metric'"

View File

@@ -1,7 +1,7 @@
<div class="col-md-6"> <div class="col-md-6">
<div *ngIf="reportParameters"> <div *ngIf="reportParameters">
<form [formGroup]="reportForm" novalidate> <form [formGroup]="reportForm" novalidate>
<h1>{{reportParameters.name}}</h1> <h4>{{reportParameters.name}}</h4>
<div *ngFor="let field of reportParameters.definition.parameters"> <div *ngFor="let field of reportParameters.definition.parameters">
<div [ngSwitch]="field.type"> <div [ngSwitch]="field.type">
<div *ngSwitchCase="'integer'"> <div *ngSwitchCase="'integer'">

View File

@@ -87,7 +87,7 @@ describe('Test ng2-analytics-report-parameters Report Parameters ', () => {
component.onSuccessReportParams.subscribe(() => { component.onSuccessReportParams.subscribe(() => {
fixture.detectChanges(); fixture.detectChanges();
let dropDown: any = element.querySelector('#select-status'); let dropDown: any = element.querySelector('#select-status');
expect(element.querySelector('h1').innerHTML).toEqual('Fake Task overview status'); expect(element.querySelector('h4').innerHTML).toEqual('Fake Task overview status');
expect(dropDown).toBeDefined(); expect(dropDown).toBeDefined();
expect(dropDown.length).toEqual(4); expect(dropDown.length).toEqual(4);
expect(dropDown[0].innerHTML).toEqual('Choose One'); expect(dropDown[0].innerHTML).toEqual('Choose One');

View File

@@ -4,7 +4,7 @@
<div *ngIf="reports"> <div *ngIf="reports">
<div *ngFor="let report of reports"> <div *ngFor="let report of reports">
<h2>{{report.title}}</h2> <h4>{{report.title}}</h4>
<div [ngSwitch]="report.type"> <div [ngSwitch]="report.type">
<div *ngSwitchCase="'pie'"> <div *ngSwitchCase="'pie'">
<div class="col-md-6"> <div class="col-md-6">