[Monitor Dashboard]: Show chart title, if indicator title is null
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@57846 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
7a333a7d12
commit
c5229ca8fb
|
@ -63,8 +63,7 @@
|
|||
<div class="md-card-toolbar">
|
||||
<div class="md-card-toolbar-actions" [class.uk-flex-middle]="!grid" [class.uk-flex]="!grid">
|
||||
<span *ngIf="!grid" class="uk-margin-medium-right uk-flex uk-flex-middle">
|
||||
<i
|
||||
class="material-icons md-24 uk-margin-small-right">{{indicatorUtils.isPublicIcon.get(indicator.isPublic)}}</i>
|
||||
<i class="material-icons md-24 uk-margin-small-right">{{indicatorUtils.isPublicIcon.get(indicator.isPublic)}}</i>
|
||||
{{(indicator.isPublic) ? 'Public' : 'Private'}}
|
||||
</span>
|
||||
<span *ngIf="!grid" class="uk-margin-medium-right uk-flex uk-flex-middle">
|
||||
|
@ -91,7 +90,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-card-toolbar-heading-text">{{indicator.name}}</div>
|
||||
<div class="md-card-toolbar-heading-text">
|
||||
{{indicator.name?indicator.name:'No title available'}}
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="grid" class="md-card-content">
|
||||
<div class="uk-flex uk-flex-center" uk-grid>
|
||||
|
@ -165,7 +166,9 @@
|
|||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="md-card-toolbar-heading-text">{{indicator.name}}</div>
|
||||
<div class="md-card-toolbar-heading-text">
|
||||
{{indicator.name?indicator.name:indicator.indicatorPaths[0].parameters['title']}}
|
||||
</div>
|
||||
</div>
|
||||
<div *ngIf="grid" class="md-card-content">
|
||||
<div class="uk-flex uk-flex-center" uk-grid>
|
||||
|
|
Loading…
Reference in New Issue