Merge branch 'master' of code-repo.d4science.org:MaDgIK/connect

This commit is contained in:
Alex Martzios 2021-11-15 17:01:00 +02:00
commit 4b256d1a42
5 changed files with 9 additions and 11 deletions

View File

@ -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 | logoUrl"
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"

View File

@ -9,11 +9,12 @@ import {SearchFormModule} from '../../openaireLibrary/searchPages/search
import {ManageModule} from '../../openaireLibrary/utils/manage/manage.module';
import {AlertModalModule} from "../../openaireLibrary/utils/modal/alertModal.module";
import {UrlPrefixModule} from "../../openaireLibrary/utils/pipes/url-prefix.module";
import {LogoUrlPipeModule} from "../../openaireLibrary/utils/pipes/logoUrlPipe.module";
@NgModule({
imports: [
CommonModule, FormsModule, RouterModule,
SearchFormModule, ManageModule, AlertModalModule, UrlPrefixModule
SearchFormModule, ManageModule, AlertModalModule, UrlPrefixModule, LogoUrlPipeModule
],
declarations: [
BrowseCommunityComponent

View File

@ -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 23f9f2c76810d8a88946c23cd78c6fa7cccc73ee
Subproject commit 7ef741c205a3659e28d1f8521a37e2cc0d969de5

View File

@ -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',