[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:
parent
be570d4ec1
commit
53201aa7a4
|
@ -18,17 +18,4 @@ export class ConnectHelper{
|
||||||
}
|
}
|
||||||
return domain;
|
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 "";
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
|
|
||||||
<div class="uk-container uk-margin-top">
|
<div class="uk-container uk-margin-top">
|
||||||
<div class="uk-article-title custom-article-title">
|
<div class="uk-article-title custom-article-title">
|
||||||
Deposit {{requestFor}}
|
Share {{requestFor}}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="uk-width-1-1 uk-margin uk-padding uk-panel uk-background-muted">
|
<div class="uk-width-1-1 uk-margin uk-padding uk-panel uk-background-muted">
|
||||||
|
|
|
@ -1,8 +1,8 @@
|
||||||
<div class="uk-margin-top">
|
<div class="uk-margin-top">
|
||||||
<div class="uk-article-title custom-article-title uk-margin-bottom">
|
<div class="uk-article-title custom-article-title uk-margin-bottom">
|
||||||
Deposit {{requestFor}}
|
Share {{requestFor}}
|
||||||
</div>
|
</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">
|
<div class="uk-width-1-1">
|
||||||
<helper position="top"></helper>
|
<helper position="top"></helper>
|
||||||
|
|
|
@ -22,11 +22,11 @@ import {ZenodoInformationClass} from './utils/zenodoInformation.class';
|
||||||
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
|
<div id="tm-main" class=" uk-section uk-margin-small-top tm-middle" >
|
||||||
<div uk-grid uk-grid>
|
<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 ">
|
<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-container uk-margin-top">
|
||||||
<div class="uk-article-title custom-article-title uk-margin-bottom">
|
<div class="uk-article-title custom-article-title uk-margin-bottom">
|
||||||
Deposit {{requestFor}}
|
Share {{requestFor}}
|
||||||
</div>
|
</div>
|
||||||
<helper position="top"></helper>
|
<helper position="top"></helper>
|
||||||
<div class="uk-grid helper-grid">
|
<div class="uk-grid helper-grid">
|
||||||
|
|
|
@ -15,7 +15,7 @@
|
||||||
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="community && homeurl" class="uk-navbar-item uk-logo" routerLinkActive="uk-link" routerLink="/" >
|
<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>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
@ -113,12 +113,12 @@
|
||||||
|
|
||||||
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
|
<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>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="community && !homeurl" [href]="'https://'+(environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank" class="uk-logo uk-navbar-item">
|
<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>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
</div>
|
</div>
|
||||||
|
@ -127,11 +127,11 @@
|
||||||
<img src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
|
<img src="{{logoPath}}logo-small-{{portal}}.png" alt="OpenAIRE" class="uk-responsive-height">
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="community && homeurl" routerLinkActive="uk-link" routerLink="/" class="uk-logo uk-navbar-item">
|
<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>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
<a *ngIf="community && !homeurl" [href]="'https://'+(environment =='beta'?'beta.':'')+community.id+'.openaire.eu'" target="_blank" class="uk-logo uk-navbar-item">
|
<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>
|
<div class="uk-margin-left uk-text-large"> {{community.name}} </div>
|
||||||
</a>
|
</a>
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
import { Injectable } from '@angular/core';
|
import { Injectable } from '@angular/core';
|
||||||
|
|
||||||
export class EnvProperties {
|
export class EnvProperties {
|
||||||
environment:string; //{beta,test,production}
|
environment:string; //{beta,test,production, development}
|
||||||
enablePiwikTrack:boolean ;
|
enablePiwikTrack:boolean ;
|
||||||
enableHelper:boolean;
|
enableHelper:boolean;
|
||||||
useCache:boolean ;
|
useCache:boolean ;
|
||||||
|
|
Loading…
Reference in New Issue