[Library]

Deposit: Rename title "Deposit" to "Share"
Navigation Bar: Add alt=" " in community images to avoid broken image



git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-library/trunk/ng-openaire-library/src/app@54851 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2019-02-18 15:06:35 +00:00
parent be570d4ec1
commit 53201aa7a4
6 changed files with 11 additions and 24 deletions

View File

@ -18,17 +18,4 @@ export class ConnectHelper{
}
return domain;
}
public static isProduction(domain:string):boolean{
if(domain.indexOf(".openaire.eu")==-1){
return false;
}
return true;
}
public static getProductionPrefix(domain:string):string{
if(domain.indexOf("beta.")!=-1){
return "beta.";
}else{
return "";
}
}
}

View File

@ -6,7 +6,7 @@
<div class="uk-container uk-margin-top">
<div class="uk-article-title custom-article-title">
Deposit {{requestFor}}
Share {{requestFor}}
</div>
<div class="uk-width-1-1 uk-margin uk-padding uk-panel uk-background-muted">

View File

@ -1,8 +1,8 @@
<div class="uk-margin-top">
<div class="uk-article-title custom-article-title uk-margin-bottom">
Deposit {{requestFor}}
Share {{requestFor}}
</div>
<schema2jsonld *ngIf="url" [URL]="url" name="Deposit {{requestFor}}" type="other"></schema2jsonld>
<schema2jsonld *ngIf="url" [URL]="url" name="Share {{requestFor}}" type="other"></schema2jsonld>
<div class="uk-width-1-1">
<helper position="top"></helper>

View File

@ -22,11 +22,11 @@ import {ZenodoInformationClass} from './utils/zenodoInformation.class';
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
<div uk-grid uk-grid>
<div class="tm-main uk-width-1-1@s uk-width-1-1@m uk-width-1-1@l uk-row-first ">
<schema2jsonld *ngIf="url" [URL]="url" name="Deposit {{requestFor}}" type="other"></schema2jsonld>
<schema2jsonld *ngIf="url" [URL]="url" name="Share {{requestFor}}" type="other"></schema2jsonld>
<div class="uk-container uk-margin-top">
<div class="uk-article-title custom-article-title uk-margin-bottom">
Deposit {{requestFor}}
Share {{requestFor}}
</div>
<helper position="top"></helper>
<div class="uk-grid helper-grid">

View File

@ -15,7 +15,7 @@
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>
<a *ngIf="community && homeurl" class="uk-navbar-item uk-logo" routerLinkActive="uk-link" routerLink="/" >
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" class="uk-responsive-height">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" alt=" " class="uk-responsive-height">
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>
@ -113,12 +113,12 @@
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" class="uk-responsive-height">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" alt=" " class="uk-responsive-height">
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>
<a *ngIf="community && !homeurl" [href]="'https://'+(environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank" class="uk-logo uk-navbar-item">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" class="uk-responsive-height">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" alt=" " class="uk-responsive-height">
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>
</div>
@ -127,11 +127,11 @@
<img src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
</a>
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" class="uk-responsive-height">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" alt=" " class="uk-responsive-height">
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>
<a *ngIf="community && !homeurl" [href]="'https://'+(environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank" class="uk-logo uk-navbar-item">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" class="uk-responsive-height">
<img *ngIf="community.logoUrl && community.logoUrl.length > 0" src="{{community.logoUrl}}" alt=" " class="uk-responsive-height">
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
</a>

View File

@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';
export class EnvProperties {
environment:string; //{beta,test,production}
environment:string; //{beta,test,production, development}
enablePiwikTrack:boolean ;
enableHelper:boolean;
useCache:boolean ;