Fix get logo Url for communities
This commit is contained in:
parent
84d7250654
commit
0b55b0dcd7
|
@ -12,14 +12,11 @@
|
|||
<div class="uk-card-media-top uk-padding uk-padding-remove-vertical uk-flex uk-flex-center uk-flex-middle">
|
||||
<a *ngIf="directLink" [href]="getCommunityPageUrl()" target="_blank">
|
||||
<div class="community">
|
||||
<img *ngIf="community.logoUrl && community.isUpload && community.logoUrl != ''"
|
||||
[src]="properties.utilsService + '/download/' + community.logoUrl"
|
||||
<img *ngIf="community.logoUrl"
|
||||
[src]="community.getLogoUrl()"
|
||||
alt="{{(community.title)?community.title:community.shortTitle}} logo">
|
||||
<img *ngIf="community.logoUrl && !community.isUpload && community.logoUrl != ''"
|
||||
[src]="community.logoUrl | urlPrefix"
|
||||
alt="{{(community.title)?community.title:community.shortTitle}} logo">
|
||||
<span *ngIf="community.logoUrl == null || community.logoUrl == ''" class="uk-icon">
|
||||
<svg viewBox="0 0 20 20" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none" stroke="#000"
|
||||
<span *ngIf="!community.logoUrl" class="uk-icon">
|
||||
<svg viewBox="0 0 20 20" class="uk-width-1-1" xmlns="http://www.w3.org/2000/svg" ratio="2.5"> <circle fill="none" stroke="#000"
|
||||
stroke-width="1.1" cx="7.7"
|
||||
cy="8.6" r="3.5"></circle> <path
|
||||
fill="none" stroke="#000" stroke-width="1.1"
|
||||
|
|
|
@ -24,7 +24,7 @@ export class CommunitiesComponent {
|
|||
private subscriptions = [];
|
||||
|
||||
public pageTitle = "OpenAIRE"
|
||||
public researchCommunities = [];
|
||||
public researchCommunities: CommunityInfo[] = [];
|
||||
public gifs: { "gif": string, "header": string, "text" }[] = [];
|
||||
public pageContents = null;
|
||||
public divContents = null;
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 3632510e387b3a83f8d8e0f27cd796912a19c741
|
||||
Subproject commit b9e6894ba15ee562b433c8e5fe72775eb3a2449d
|
|
@ -1 +1 @@
|
|||
Subproject commit 318c6560565a7a0da818385de27ebb430b22aea3
|
||||
Subproject commit 999d3833d3805534677aa741a3759e26e09b50f2
|
|
@ -52,7 +52,7 @@ export let properties: EnvProperties = {
|
|||
ercGuidlines: 'http://erc.europa.eu/sites/default/files/document/file/ERC_Open_Access_Guidelines-revised_2014.pdf',
|
||||
helpdesk: 'https://www.openaire.eu/support/helpdesk',
|
||||
helpdeskEmail: 'helpdesk@openaire.eu',
|
||||
utilsService: 'http://dl170.madgik.di.uoa.gr:8000',
|
||||
utilsService: 'http://mpagasas.di.uoa.gr:8000',
|
||||
vocabulariesAPI: 'https://dev-openaire.d4science.org/provision/mvc/vocabularies/',
|
||||
piwikBaseUrl: 'https://analytics.openaire.eu/piwik.php?idsite=',
|
||||
piwikSiteId: '80',
|
||||
|
|
Loading…
Reference in New Issue