changes public/private/etc to run in production

git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-services-portal/trunk@45442 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
argiro.kokogiannaki 2017-01-18 09:13:24 +00:00
parent a7680ac098
commit 2d0f52f263
5 changed files with 17 additions and 15 deletions

View File

@ -62,7 +62,7 @@ export class DepositComponent {
public status: number; public status: number;
public errorCodes:ErrorCodes = new ErrorCodes(); public errorCodes:ErrorCodes = new ErrorCodes();
public selectedId: string = ""; public selectedId: string = "";
private warningMessage: string = ""; public warningMessage: string = "";
constructor (private _router: Router, private _searchOrganizationsService: SearchOrganizationsService) { constructor (private _router: Router, private _searchOrganizationsService: SearchOrganizationsService) {

View File

@ -87,9 +87,9 @@ export class MetricsComponent {
@Input() id: string; @Input() id: string;
@Input() type: string; @Input() type: string;
@Input() name: string = ""; @Input() name: string = "";
private metrics: Metrics; public metrics: Metrics;
private errorCodes:ErrorCodes; public errorCodes:ErrorCodes;
private status: number; public status: number;
constructor (private _metricsService: MetricsService) {} constructor (private _metricsService: MetricsService) {}

View File

@ -232,7 +232,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.subPeopleCount.unsubscribe(); this.subPeopleCount.unsubscribe();
} }
} }
private searchPublications() { public searchPublications() {
this.activeTab = "publications"; this.activeTab = "publications";
if(this.reloadPublications) { if(this.reloadPublications) {
this.reloadPublications = false; this.reloadPublications = false;
@ -240,7 +240,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.linkToSearchPublications = OpenaireProperties.getLinkToSearchPublications() + "?keyword=" + this.keyword; this.linkToSearchPublications = OpenaireProperties.getLinkToSearchPublications() + "?keyword=" + this.keyword;
} }
} }
private searchDatasets() { public searchDatasets() {
this.activeTab = "datasets"; this.activeTab = "datasets";
if(this.reloadDatasets) { if(this.reloadDatasets) {
this.reloadDatasets = false; this.reloadDatasets = false;
@ -248,7 +248,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.linkToSearchDatasets = OpenaireProperties.getLinkToSearchDatasets() + "?keyword=" + this.keyword; this.linkToSearchDatasets = OpenaireProperties.getLinkToSearchDatasets() + "?keyword=" + this.keyword;
} }
} }
private searchProjects() { public searchProjects() {
this.activeTab = "projects"; this.activeTab = "projects";
if(this.reloadProjects) { if(this.reloadProjects) {
this.reloadProjects = false; this.reloadProjects = false;
@ -256,7 +256,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.linkToSearchProjects = OpenaireProperties.getLinkToSearchProjects() + "?keyword=" + this.keyword; this.linkToSearchProjects = OpenaireProperties.getLinkToSearchProjects() + "?keyword=" + this.keyword;
} }
} }
private searchDataProviders() { public searchDataProviders() {
this.activeTab = "dataproviders"; this.activeTab = "dataproviders";
if(this.reloadDataproviders) { if(this.reloadDataproviders) {
this.reloadDataproviders = false; this.reloadDataproviders = false;
@ -264,7 +264,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.linkToSearchDataproviders = OpenaireProperties.getLinkToSearchDataProviders() + "?keyword=" + this.keyword; this.linkToSearchDataproviders = OpenaireProperties.getLinkToSearchDataProviders() + "?keyword=" + this.keyword;
} }
} }
private searchOrganizations() { public searchOrganizations() {
this.activeTab = "organizations"; this.activeTab = "organizations";
if(this.reloadOrganizations) { if(this.reloadOrganizations) {
this.reloadOrganizations = false; this.reloadOrganizations = false;
@ -272,7 +272,7 @@ public subPub;public subData;public subProjects;public subOrg;public subPeople;
this.linkToSearchOrganizations = OpenaireProperties.getLinkToSearchOrganizations() + "?keyword=" + this.keyword; this.linkToSearchOrganizations = OpenaireProperties.getLinkToSearchOrganizations() + "?keyword=" + this.keyword;
} }
} }
private searchPeople() { public searchPeople() {
this.activeTab = "people"; this.activeTab = "people";
if(this.reloadPeople) { if(this.reloadPeople) {
this.reloadPeople = false; this.reloadPeople = false;

View File

@ -38,9 +38,9 @@ import {SearchUtilsClass} from '../searchUtils/searchUtils.class';
export class BrowseStatisticComponent { export class BrowseStatisticComponent {
@Input() public baseUrl:string = ""; @Input() public baseUrl:string = "";
@Input() public filter:string = ""; @Input() public filter:any = "";
private _maxCharacters = 30; private _maxCharacters = 30;
private showAll = false; public viewAll = false;
constructor () { constructor () {

View File

@ -46,9 +46,11 @@ export class Open {
} }
show() { show() {
if (typeof document !== 'undefined') {
let backDrop = document.createElement('div'); let backDrop = document.createElement('div');
backDrop.className="modal-backdrop fade in"; backDrop.className="modal-backdrop fade in";
document.body.appendChild(backDrop); document.body.appendChild(backDrop);
}
this.isExpanded = true; this.isExpanded = true;
this.display = 'block'; this.display = 'block';
} }