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 errorCodes:ErrorCodes = new ErrorCodes();
public selectedId: string = "";
private warningMessage: string = "";
public warningMessage: string = "";
constructor (private _router: Router, private _searchOrganizationsService: SearchOrganizationsService) {

View File

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

View File

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

View File

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

View File

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