Customization: updates for buttons customization
add property connectportalUrl - use it for preview and build css methods
This commit is contained in:
parent
a41ef51cda
commit
17200edf21
|
@ -20,8 +20,8 @@ export class LayoutService {
|
|||
}
|
||||
}
|
||||
}
|
||||
createCSS( pid: string, suffix = null, layout = null): Observable<any> {
|
||||
return this.http.post("http://scoobydoo.di.uoa.gr:4200/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout );
|
||||
createCSS( pid: string, connectPortalUrl:string, suffix = null, layout = null): Observable<any> {
|
||||
return this.http.post(connectPortalUrl + "/build-css/" + (layout?"preview/":"") + pid + (suffix?("/"+ suffix):""), layout );
|
||||
}
|
||||
|
||||
saveLayout(properties: EnvProperties, pid: string, layout: Layout): Observable<Layout> {
|
||||
|
|
|
@ -143,4 +143,5 @@ export interface EnvProperties {
|
|||
footerGrantText?: string;
|
||||
egiNotebookLink?: string;
|
||||
portalBuildTime?;
|
||||
connectPortalUrl?;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue