linking fix issue with basket tabs

This commit is contained in:
argirok 2022-05-11 15:34:38 +03:00
parent ac2c67d0ca
commit f8b76246f5
1 changed files with 29 additions and 32 deletions

View File

@ -88,11 +88,11 @@
> 0">( > 0">(
{{(results.length) | number}})</span></a></li> {{(results.length) | number}})</span></a></li>
</ul> </ul>
<ul class="uk-switcher" >
<li>
<div <div *ngIf="showOptions.basketShowSources">
<div
class=" uk-margin-remove-top uk-height-medium uk-overflow-auto "> class=" uk-margin-remove-top uk-height-medium uk-overflow-auto ">
<div *ngIf="showOptions.show == 'source'" class=" uk-padding-small " style="min-height: <div *ngIf="showOptions.show == 'source'" class=" uk-padding-small " style="min-height:
17px;"> 17px;">
@ -127,40 +127,37 @@
</div> </div>
</div> </div>
</li> </div>
<li> <div *ngIf="showOptions.basketShowLinksTo">
<div > <div
<div class="uk-height-medium uk-overflow-auto">
class="uk-height-medium uk-overflow-auto"> <div *ngIf=" (results.length)> 0 || showOptions.show=='result'"
<div *ngIf=" (results.length)> 0 || showOptions.show=='result'" class=" uk-padding-small " style="min-height: 17px;">
class=" uk-padding-small " style="min-height: 17px;"> <start-over *ngIf=" (results.length)> 0"
<start-over *ngIf=" (results.length)> 0" [results]="results" [localStoragePrefix]="localStoragePrefix+'results'"
[results]="results" [localStoragePrefix]="localStoragePrefix+'results'" message="all results (projects, communities, research results)"
message="all results (projects, communities, research results)" class="uk-float-right"></start-over>
class="uk-float-right"></start-over> <bulk-claim *ngIf="showOptions.show=='result'" [results]="results" [properties]=properties
<bulk-claim *ngIf="showOptions.show=='result'" [results]="results" [properties]=properties [localStoragePrefix]="localStoragePrefix+'results'" [basketLimit]="basketLimit"></bulk-claim>
[localStoragePrefix]="localStoragePrefix+'results'" [basketLimit]="basketLimit"></bulk-claim> </div>
<div class="uk-padding-small uk-animation-slide-top-small">
<div *ngIf="results.length >= basketLimit "
class="uk-alert uk-alert-warning uk-text-center">
Basket reached the size limit. No more entities can be added.
</div>
<claim-selected-results sectionTitle="Selected Results" [results]="results"
[localStoragePrefix]="localStoragePrefix+'results'" type="target">
</claim-selected-results>
<div *ngIf="(results.length) == 0 " class=" uk-text-center">
No entities to link with the sources. Start adding entities from the left panel.
</div> </div>
<div class="uk-padding-small uk-animation-slide-top-small">
<div *ngIf="results.length >= basketLimit "
class="uk-alert uk-alert-warning uk-text-center">
Basket reached the size limit. No more entities can be added.
</div>
<claim-selected-results sectionTitle="Selected Results" [results]="results"
[localStoragePrefix]="localStoragePrefix+'results'" type="target">
</claim-selected-results>
<div *ngIf="(results.length) == 0 " class=" uk-text-center">
No entities to link with the sources. Start adding entities from the left panel.
</div>
</div>
</div> </div>
</div> </div>
</div>
</li>
</ul>
<div *ngIf="showOptions.show=='source'" <div *ngIf="showOptions.show=='source'"
class=" nextStep uk-margin-small-top uk-padding-small " [class.active]="(sources.length)>0" [class.disabled]="(sources.length) == 0" class=" nextStep uk-margin-small-top uk-padding-small " [class.active]="(sources.length)>0" [class.disabled]="(sources.length) == 0"