Revision 45442
Added by Argiro Kokogiannaki almost 8 years ago
modules/uoa-services-portal/trunk/portal-2/src/app/utils/modal/open.component.ts | ||
---|---|---|
46 | 46 |
} |
47 | 47 |
|
48 | 48 |
show() { |
49 |
let backDrop = document.createElement('div'); |
|
50 |
backDrop.className="modal-backdrop fade in"; |
|
51 |
document.body.appendChild(backDrop); |
|
49 |
if (typeof document !== 'undefined') { |
|
50 |
let backDrop = document.createElement('div'); |
|
51 |
backDrop.className="modal-backdrop fade in"; |
|
52 |
document.body.appendChild(backDrop); |
|
53 |
} |
|
52 | 54 |
this.isExpanded = true; |
53 | 55 |
this.display = 'block'; |
54 | 56 |
} |
modules/uoa-services-portal/trunk/portal-2/src/app/searchPages/find/search.component.ts | ||
---|---|---|
232 | 232 |
this.subPeopleCount.unsubscribe(); |
233 | 233 |
} |
234 | 234 |
} |
235 |
private searchPublications() {
|
|
235 |
public searchPublications() {
|
|
236 | 236 |
this.activeTab = "publications"; |
237 | 237 |
if(this.reloadPublications) { |
238 | 238 |
this.reloadPublications = false; |
... | ... | |
240 | 240 |
this.linkToSearchPublications = OpenaireProperties.getLinkToSearchPublications() + "?keyword=" + this.keyword; |
241 | 241 |
} |
242 | 242 |
} |
243 |
private searchDatasets() {
|
|
243 |
public searchDatasets() {
|
|
244 | 244 |
this.activeTab = "datasets"; |
245 | 245 |
if(this.reloadDatasets) { |
246 | 246 |
this.reloadDatasets = false; |
... | ... | |
248 | 248 |
this.linkToSearchDatasets = OpenaireProperties.getLinkToSearchDatasets() + "?keyword=" + this.keyword; |
249 | 249 |
} |
250 | 250 |
} |
251 |
private searchProjects() {
|
|
251 |
public searchProjects() {
|
|
252 | 252 |
this.activeTab = "projects"; |
253 | 253 |
if(this.reloadProjects) { |
254 | 254 |
this.reloadProjects = false; |
... | ... | |
256 | 256 |
this.linkToSearchProjects = OpenaireProperties.getLinkToSearchProjects() + "?keyword=" + this.keyword; |
257 | 257 |
} |
258 | 258 |
} |
259 |
private searchDataProviders() {
|
|
259 |
public searchDataProviders() {
|
|
260 | 260 |
this.activeTab = "dataproviders"; |
261 | 261 |
if(this.reloadDataproviders) { |
262 | 262 |
this.reloadDataproviders = false; |
... | ... | |
264 | 264 |
this.linkToSearchDataproviders = OpenaireProperties.getLinkToSearchDataProviders() + "?keyword=" + this.keyword; |
265 | 265 |
} |
266 | 266 |
} |
267 |
private searchOrganizations() {
|
|
267 |
public searchOrganizations() {
|
|
268 | 268 |
this.activeTab = "organizations"; |
269 | 269 |
if(this.reloadOrganizations) { |
270 | 270 |
this.reloadOrganizations = false; |
... | ... | |
272 | 272 |
this.linkToSearchOrganizations = OpenaireProperties.getLinkToSearchOrganizations() + "?keyword=" + this.keyword; |
273 | 273 |
} |
274 | 274 |
} |
275 |
private searchPeople() {
|
|
275 |
public searchPeople() {
|
|
276 | 276 |
this.activeTab = "people"; |
277 | 277 |
if(this.reloadPeople) { |
278 | 278 |
this.reloadPeople = false; |
modules/uoa-services-portal/trunk/portal-2/src/app/searchPages/searchUtils/browseStatistic.component.ts | ||
---|---|---|
38 | 38 |
export class BrowseStatisticComponent { |
39 | 39 |
|
40 | 40 |
@Input() public baseUrl:string = ""; |
41 |
@Input() public filter:string = "";
|
|
41 |
@Input() public filter:any = "";
|
|
42 | 42 |
private _maxCharacters = 30; |
43 |
private showAll = false;
|
|
43 |
public viewAll = false;
|
|
44 | 44 |
|
45 | 45 |
constructor () { |
46 | 46 |
|
modules/uoa-services-portal/trunk/portal-2/src/app/deposit/deposit.component.ts | ||
---|---|---|
62 | 62 |
public status: number; |
63 | 63 |
public errorCodes:ErrorCodes = new ErrorCodes(); |
64 | 64 |
public selectedId: string = ""; |
65 |
private warningMessage: string = "";
|
|
65 |
public warningMessage: string = "";
|
|
66 | 66 |
|
67 | 67 |
constructor (private _router: Router, private _searchOrganizationsService: SearchOrganizationsService) { |
68 | 68 |
|
modules/uoa-services-portal/trunk/portal-2/src/app/landingPages/metrics.component.ts | ||
---|---|---|
87 | 87 |
@Input() id: string; |
88 | 88 |
@Input() type: string; |
89 | 89 |
@Input() name: string = ""; |
90 |
private metrics: Metrics;
|
|
91 |
private errorCodes:ErrorCodes;
|
|
92 |
private status: number;
|
|
90 |
public metrics: Metrics;
|
|
91 |
public errorCodes:ErrorCodes;
|
|
92 |
public status: number;
|
|
93 | 93 |
|
94 | 94 |
constructor (private _metricsService: MetricsService) {} |
95 | 95 |
|
Also available in: Unified diff
changes public/private/etc to run in production