Revision 48973
Added by Argiro Kokogiannaki over 6 years ago
depositBySubjectResult.component.ts | ||
---|---|---|
39 | 39 |
</span> |
40 | 40 |
</div> |
41 | 41 |
</div> |
42 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.LOADING" |
|
43 |
class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert"><img src="./assets/loading.gif" class="uk-align-center" alt="Loading"> |
|
44 |
</div> |
|
42 |
<div class="uk-width-1-1"> |
|
43 |
<helper position="top"></helper> |
|
44 |
</div> |
|
45 |
<div class="uk-grid helper-grid"> |
|
46 |
<helper position="left" styleName=" uk-width-1-5 uk-padding-left"></helper> |
|
47 |
<div class="uk-width-expand"> |
|
48 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.LOADING" |
|
49 |
class="uk-animation-fade uk-margin-top uk-width-1-1" role="alert"><img src="./assets/loading.gif" class="uk-align-center" alt="Loading"> |
|
50 |
</div> |
|
45 | 51 |
|
46 | 52 |
|
47 | 53 |
|
48 |
<div *ngIf="fetchDataproviders.searchUtils.totalResults > 0"> |
|
49 |
<p>Please use the information/contacts shown below to deposit your {{requestFor}}.</p> |
|
50 |
<!--showDataProviders [dataProviders]=dataProviders></showDataProviders--> |
|
51 |
<div *ngIf="fetchDataproviders.searchUtils.totalResults" class=""> |
|
52 |
<paging-no-load [currentPage]="page" [totalResults]="fetchDataproviders.searchUtils.totalResults" size=10 (pageChange)="pageChange($event)"> </paging-no-load> |
|
53 |
</div> |
|
54 |
<div class="" *ngIf="fetchDataproviders.results && fetchDataproviders.searchUtils.totalResults > 0"> |
|
55 |
{{fetchDataproviders.searchUtils.totalResults}} content providers, page {{fetchDataproviders.searchUtils.page}} of {{(totalPages())}} |
|
56 |
</div> |
|
54 |
<div *ngIf="fetchDataproviders.searchUtils.totalResults > 0">
|
|
55 |
<p>Please use the information/contacts shown below to deposit your {{requestFor}}.</p>
|
|
56 |
<!--showDataProviders [dataProviders]=dataProviders></showDataProviders-->
|
|
57 |
<div *ngIf="fetchDataproviders.searchUtils.totalResults" class="">
|
|
58 |
<paging-no-load [currentPage]="page" [totalResults]="fetchDataproviders.searchUtils.totalResults" size=10 (pageChange)="pageChange($event)"> </paging-no-load>
|
|
59 |
</div>
|
|
60 |
<div class="" *ngIf="fetchDataproviders.results && fetchDataproviders.searchUtils.totalResults > 0">
|
|
61 |
{{fetchDataproviders.searchUtils.totalResults}} content providers, page {{fetchDataproviders.searchUtils.page}} of {{(totalPages())}}
|
|
62 |
</div>
|
|
57 | 63 |
|
58 |
<search-result [(results)]="fetchDataproviders.results" |
|
59 |
type="dataprovider" urlParam="datasourceId" [showSubjects]=true |
|
60 |
[custom_class]="'other-results'"> |
|
61 |
</search-result> |
|
62 |
</div> |
|
64 |
<search-result [(results)]="fetchDataproviders.results"
|
|
65 |
type="dataprovider" urlParam="datasourceId" [showSubjects]=true
|
|
66 |
[custom_class]="'other-results'">
|
|
67 |
</search-result>
|
|
68 |
</div>
|
|
63 | 69 |
|
64 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.NONE && subject != ''" class = "uk-alert uk-alert-primary"> |
|
65 |
No content providers found with classification "{{subject}}". |
|
66 |
</div> |
|
67 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.ERROR && subject != ''" class = "uk-alert uk-alert-danger"> |
|
68 |
An error occured. |
|
69 |
</div> |
|
70 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.NONE && subject != ''" class = "uk-alert uk-alert-primary">
|
|
71 |
No content providers found with classification "{{subject}}".
|
|
72 |
</div>
|
|
73 |
<div *ngIf="fetchDataproviders.searchUtils.status == errorCodes.ERROR && subject != ''" class = "uk-alert uk-alert-danger">
|
|
74 |
An error occured.
|
|
75 |
</div>
|
|
70 | 76 |
|
71 |
<div *ngIf="(fetchDataproviders.searchUtils.totalResults == 0 && fetchDataproviders.searchUtils.status == errorCodes.DONE) |
|
72 |
|| fetchDataproviders.searchUtils.status == errorCodes.NONE || fetchDataproviders.searchUtils.status == errorCodes.ERROR" class = "uk-alert "> |
|
77 |
<div *ngIf="(fetchDataproviders.searchUtils.totalResults == 0 && fetchDataproviders.searchUtils.status == errorCodes.DONE)
|
|
78 |
|| fetchDataproviders.searchUtils.status == errorCodes.NONE || fetchDataproviders.searchUtils.status == errorCodes.ERROR" class = "uk-alert ">
|
|
73 | 79 |
|
74 |
You can still deposit your {{requestFor}} in |
|
75 |
<a href="{{zenodo}}" target="_blank">OpenAIRE's Zenodo catch-all repository (<i class="custom-external"></i>)</a> |
|
76 |
hosted by CERN. |
|
77 |
</div> |
|
80 |
You can still deposit your {{requestFor}} in |
|
81 |
<a href="{{zenodo}}" target="_blank">OpenAIRE's Zenodo catch-all repository (<i class="custom-external"></i>)</a> |
|
82 |
hosted by CERN. |
|
83 |
</div> |
|
84 |
</div> |
|
85 |
<helper position="right" styleName=" uk-width-1-5"></helper> |
|
86 |
</div> |
|
87 |
<helper position="bottom"></helper> |
|
78 | 88 |
|
79 | 89 |
<button class=" uk-button uk-button-default" type="submit" (click)="goToDeposit()"> |
80 | 90 |
<span class="uk-icon"><svg width="20" height="20" viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" icon="chevron-left" ratio="1"><polyline fill="none" stroke="#000" stroke-width="1.03" points="13 16 7 10 13 4"></polyline></svg></span> Back |
Also available in: Unified diff
Adding helpText in all pages, Set api url and enableText variables in Openaire properties