Merge remote-tracking branch 'origin/develop'
This commit is contained in:
commit
9b2524c1c7
|
@ -216,6 +216,6 @@ export class FosComponent implements OnInit, OnDestroy {
|
|||
}
|
||||
|
||||
public buildFosQueryParam(fos) {
|
||||
return (properties.environment !== 'production' ? ({'foslabel': this.urlEncodeAndQuote(fos.id+"||"+fos.label)}) : ({'fos': this.urlEncodeAndQuote(fos.id)}));
|
||||
return {'foslabel': this.urlEncodeAndQuote(fos.id+"||"+fos.label)};
|
||||
}
|
||||
}
|
||||
|
|
|
@ -121,10 +121,10 @@ export class FosComponent {
|
|||
}
|
||||
|
||||
public buildFosQueryParam(fos) {
|
||||
return (properties.environment !== 'production' ? ({'foslabel': this.urlEncodeAndQuote(fos.id+"||"+fos.label)}) : ({'fos': this.urlEncodeAndQuote(fos.id)}));
|
||||
return {'foslabel': this.urlEncodeAndQuote(fos.id+"||"+fos.label)};
|
||||
}
|
||||
|
||||
public buildFosHrefParam(fos): string {
|
||||
return (properties.environment !== 'production' ? ('foslabel='+this.urlEncodeAndQuote(fos.id+"||"+fos.label)) : ('fos='+this.urlEncodeAndQuote(fos.id)));
|
||||
return ('foslabel='+this.urlEncodeAndQuote(fos.id+"||"+fos.label));
|
||||
}
|
||||
}
|
||||
|
|
|
@ -19,7 +19,7 @@ import {AlertModalModule} from "../../utils/modal/alertModal.module";
|
|||
import { SearchInputModule } from '../../sharedComponents/search-input/search-input.module';
|
||||
import {EntityMetadataComponent} from "./entity-metadata.component";
|
||||
import {IconsService} from "../../utils/icons/icons.service";
|
||||
import {closed_access, open_access, unknown_access} from "../../utils/icons/icons";
|
||||
import {book, closed_access, cog, database, earth, open_access, unknown_access} from "../../utils/icons/icons";
|
||||
import {FullScreenModalModule} from "../../utils/modal/full-screen-modal/full-screen-modal.module";
|
||||
import {MobileDropdownModule} from "../../utils/mobile-dropdown/mobile-dropdown.module";
|
||||
|
||||
|
@ -45,6 +45,6 @@ import {MobileDropdownModule} from "../../utils/mobile-dropdown/mobile-dropdown.
|
|||
})
|
||||
export class ResultLandingUtilsModule {
|
||||
constructor(private iconsService: IconsService) {
|
||||
this.iconsService.registerIcons([open_access, closed_access, unknown_access]);
|
||||
this.iconsService.registerIcons([open_access, closed_access, unknown_access, book, cog, database, earth]);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -135,7 +135,7 @@ export class SearchDataprovidersService {
|
|||
// result.description = result.description.substring(0, this.sizeOfDescription) + "...";
|
||||
// }
|
||||
|
||||
let typeid: string = resData['datasourcetype'].classid;
|
||||
let typeid: string = resData['datasourcetype'] && resData['datasourcetype'].classid;
|
||||
if(typeid != "entityregistry" && typeid != "entityregistry::projects" && typeid != "entityregistry::repositories") {
|
||||
|
||||
if(resData.hasOwnProperty('accessinfopackage')) {
|
||||
|
|
|
@ -152,6 +152,7 @@ export class EGIDataTransferComponent {
|
|||
this.init();
|
||||
|
||||
if(!this.isMobile) {
|
||||
this.egiTransferModal.stayOpen = true;
|
||||
// this.egiTransferModal.back = true;
|
||||
this.egiTransferModal.cancelButton = false;
|
||||
this.egiTransferModal.okButton = true;
|
||||
|
|
Loading…
Reference in New Issue