Revision 58629
Added by Argiro Kokogiannaki over 4 years ago
modules/uoa-connect-portal/trunk/src/app/community/community.component.html | ||
---|---|---|
213 | 213 |
<a *ngIf="keyword.length > 0" class="uk-form-icon uk-form-icon-flip" (click)="keyword = ''" |
214 | 214 |
uk-icon="icon: close"></a> |
215 | 215 |
<input type="text" class="uk-input uk-width-xlarge@l uk-width-large@m uk-width-medium" |
216 |
placeholder="Search in OpenAIRE for scholarly works"
|
|
216 |
[placeholder]="placeholderText"
|
|
217 | 217 |
[(ngModel)]="keyword" |
218 | 218 |
name="keyword"> |
219 | 219 |
</div> |
modules/uoa-connect-portal/trunk/src/app/community/community.component.ts | ||
---|---|---|
94 | 94 |
selectedEntityAdvancedUrl; |
95 | 95 |
keyword:string =""; |
96 | 96 |
customFilter; |
97 |
placeholderText="Search by title, author, abstract, DOI, orcid... "; |
|
97 | 98 |
|
98 | 99 |
constructor( |
99 | 100 |
private element: ElementRef, |
... | ... | |
415 | 416 |
this.selectedEntity = $event.entity; |
416 | 417 |
this.selectedEntitySimpleUrl = $event.simpleUrl; |
417 | 418 |
this.selectedEntityAdvancedUrl = $event.advancedUrl; |
419 |
if(this.selectedEntity == 'result'){ |
|
420 |
this.placeholderText ="Search by title, author, abstract, DOI, orcid... "; |
|
421 |
}else if(this.selectedEntity == 'project') { |
|
422 |
this.placeholderText = "Search by project title, grant id, funder..."; |
|
423 |
}else if(this.selectedEntity == 'dataprovider') { |
|
424 |
this.placeholderText = "Search by name..."; |
|
425 |
}else{ |
|
426 |
this.placeholderText = "Search community content"; |
|
427 |
} |
|
418 | 428 |
} |
429 |
|
|
419 | 430 |
goTo(simple:boolean){ |
420 | 431 |
let url = (simple)?this.selectedEntitySimpleUrl:this.selectedEntityAdvancedUrl; |
421 | 432 |
let parameterNames = []; |
modules/uoa-connect-portal/trunk/src/assets/env-properties.json | ||
---|---|---|
11 | 11 |
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", |
12 | 12 |
"statisticsFrameNewAPIURL": "http://marilyn.athenarc.gr:8080/stats-api/", |
13 | 13 |
"useNewStatistisTool":false, |
14 |
"impactFactorsAPIURL" :"https://bip-api.imsi.athenarc.gr/paper/scores/batch/", |
|
14 | 15 |
"claimsAPIURL" : "http://dl170.madgik.di.uoa.gr:8180/dnet-claims-service-2.0.0-SNAPSHOT/rest/claimsService/", |
15 | 16 |
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/", |
16 | 17 |
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", |
modules/uoa-connect-portal/trunk/deploy/production-properties.json | ||
---|---|---|
11 | 11 |
"statisticsFrameAPIURL":"https://www.openaire.eu/stats/", |
12 | 12 |
"statisticsFrameNewAPIURL": "", |
13 | 13 |
"useNewStatistisTool":false, |
14 |
"impactFactorsAPIURL" :"https://bip-api.imsi.athenarc.gr/paper/scores/batch/", |
|
14 | 15 |
"claimsAPIURL" : "https://services.openaire.eu/claims/rest/claimsService/", |
15 | 16 |
"searchAPIURLLAst" : "https://services.openaire.eu/search/v2/api/", |
16 | 17 |
"searchResourcesAPIURL" : "https://services.openaire.eu/search/v2/api/resources", |
modules/uoa-connect-portal/trunk/deploy/beta-properties.json | ||
---|---|---|
11 | 11 |
"statisticsFrameAPIURL":"https://beta.openaire.eu/stats/", |
12 | 12 |
"statisticsFrameNewAPIURL": "http://marilyn.athenarc.gr:8080/stats-api/", |
13 | 13 |
"useNewStatistisTool":false, |
14 |
"impactFactorsAPIURL" :"https://bip-api.imsi.athenarc.gr/paper/scores/batch/", |
|
14 | 15 |
"claimsAPIURL" : "https://beta.services.openaire.eu/claims/rest/claimsService/", |
15 | 16 |
"searchAPIURLLAst" : "https://beta.services.openaire.eu/search/v2/api/", |
16 | 17 |
"searchResourcesAPIURL" : "https://beta.services.openaire.eu/search/v2/api/resources", |
Also available in: Unified diff
[Connect|Trunk]
Community page - search form: update form placeholder when entity changes
Properties: add impact factor URL