Revert import/export indicators in subcategories, deleted by mistake.

This commit is contained in:
Konstantinos Triantafyllou 2022-12-15 11:28:11 +02:00
parent 61e7c6249b
commit 3613e8dd88
1 changed files with 17 additions and 0 deletions

View File

@ -236,6 +236,7 @@
</div> </div>
</a> </a>
</li> </li>
<li class="uk-nav-divider"></li>
<li *ngIf="i < stakeholder.topics[topicIndex].categories[categoryIndex].subCategories.length - 1"> <li *ngIf="i < stakeholder.topics[topicIndex].categories[categoryIndex].subCategories.length - 1">
<a (click)="hide(element);moveSubCategory(i, i + 1)"> <a (click)="hide(element);moveSubCategory(i, i + 1)">
<div class="uk-flex uk-flex-middle"> <div class="uk-flex uk-flex-middle">
@ -244,6 +245,22 @@
</div> </div>
</a> </a>
</li> </li>
<li *ngIf="indicators">
<a (click)=" indicators.exportIndicators(i);hide(element)">
<div class="uk-flex uk-flex-middle">
<icon [flex]="true" name="download" ratio="0.6"></icon>
<span class="uk-margin-small-left uk-width-expand">Export indicators</span>
</div>
</a>
</li>
<li *ngIf="indicators">
<a (click)="file.value = ''; this.index=i; file.click(); hide(element)">
<div class="uk-flex uk-flex-middle">
<icon [flex]="true" name="upload" ratio="0.6"></icon>
<span class="uk-margin-small-left uk-width-expand">Import indicators</span>
</div>
</a>
</li>
<li class="uk-nav-divider"></li> <li class="uk-nav-divider"></li>
</ng-container> </ng-container>
<ng-template ngFor [ngForOf]="stakeholderUtils.visibility" let-v> <ng-template ngFor [ngForOf]="stakeholderUtils.visibility" let-v>