Revision 58632
Added by Konstantina Galouni almost 4 years ago
curators.component.html | ||
---|---|---|
65 | 65 |
<span *ngIf="!affiliation.website_url"> |
66 | 66 |
<img [src]="affiliation.logo_url" [alt]="affiliation.name"> |
67 | 67 |
</span> |
68 |
<a *ngIf="affiliation.website_url" [href]="affiliation.website_url"> |
|
68 |
<a *ngIf="affiliation.website_url" |
|
69 |
target="_blank" [href]="urlPrefix(affiliation.website_url) + affiliation.website_url"> |
|
69 | 70 |
<img [src]="affiliation.logo_url" [alt]="affiliation.name"> |
70 | 71 |
</a> |
71 | 72 |
</div> |
Also available in: Unified diff
[Trunk | Connect]:
1. affiliations.component & curators.component: In affiliations website_url, call method 'StringUtils.urlPrefix()' (add "//" prefix, when url does not start with protocol (http, https, //)).
2. community.component.html: [Bug fix] Add checks (<div *ngIf="communityInfo && community" class="publicationsSearchForm ">).