[Monitor Dashboard | Trunk]: Hide additional information if user in not Admin
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor_dashboard@59778 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
62fbea02fa
commit
ec044a7320
|
@ -243,7 +243,7 @@
|
||||||
[formInput]="numberIndicatorFb.get('description')"
|
[formInput]="numberIndicatorFb.get('description')"
|
||||||
label="Description" type="textarea">
|
label="Description" type="textarea">
|
||||||
</div>
|
</div>
|
||||||
<div dashboard-input class="uk-width-1-1" [formInput]="numberIndicatorFb.get('additionalDescription')"
|
<div dashboard-input *ngIf="isAdministrator" class="uk-width-1-1" [formInput]="numberIndicatorFb.get('additionalDescription')"
|
||||||
label="Additional information" type="textarea">
|
label="Additional information" type="textarea">
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
@ -296,8 +296,7 @@
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="uk-flex uk-flex-middle">
|
<div class="uk-flex uk-flex-middle">
|
||||||
<button
|
<button class="uk-icon-button uk-button-secondary uk-margin-medium-top"
|
||||||
class="uk-icon-button uk-button-secondary uk-margin-medium-top"
|
|
||||||
(click)="addJsonPath(i)">
|
(click)="addJsonPath(i)">
|
||||||
<icon name="add"></icon>
|
<icon name="add"></icon>
|
||||||
</button>
|
</button>
|
||||||
|
@ -331,7 +330,7 @@
|
||||||
[formInput]="chartIndicatorFb.get('description')"
|
[formInput]="chartIndicatorFb.get('description')"
|
||||||
label="Description" type="textarea">
|
label="Description" type="textarea">
|
||||||
</div>
|
</div>
|
||||||
<div dashboard-input class="uk-width-1-1" [formInput]="chartIndicatorFb.get('additionalDescription')"
|
<div dashboard-input *ngIf="isAdministrator" class="uk-width-1-1" [formInput]="chartIndicatorFb.get('additionalDescription')"
|
||||||
label="Additional information" type="textarea">
|
label="Additional information" type="textarea">
|
||||||
</div>
|
</div>
|
||||||
<div dashboard-input class="uk-width-1-2@m" [formInput]="chartIndicatorFb.get('visibility')"
|
<div dashboard-input class="uk-width-1-2@m" [formInput]="chartIndicatorFb.get('visibility')"
|
||||||
|
|
Loading…
Reference in New Issue