Use logoUrl pipe for stakeholder url
This commit is contained in:
parent
b95232fe55
commit
4fa401fe9a
|
@ -247,10 +247,7 @@
|
|||
<icon [name]="visibilityIcon.get(stakeholder.visibility)"></icon>
|
||||
<span class="space uk-text-small uk-text-capitalize">{{stakeholder.visibility.toLowerCase()}}</span>
|
||||
</div>
|
||||
<img *ngIf="stakeholder.logoUrl && stakeholder.isUpload" class="uk-margin-auto"
|
||||
[src]="properties.utilsService + '/download/' + stakeholder.logoUrl">
|
||||
<img *ngIf="stakeholder.logoUrl && !stakeholder.isUpload" class="uk-margin-auto"
|
||||
[src]="stakeholder.logoUrl | urlPrefix">
|
||||
<img *ngIf="stakeholder.logoUrl" class="uk-margin-auto" [src]="stakeholder | logoUrl">
|
||||
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
|
||||
</div>
|
||||
</ng-template>
|
||||
|
|
|
@ -21,12 +21,13 @@ import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
|
|||
import {IconsService} from "../openaireLibrary/utils/icons/icons.service";
|
||||
import {group, lock} from "../openaireLibrary/utils/icons/icons";
|
||||
import {UrlPrefixModule} from "../openaireLibrary/utils/pipes/url-prefix.module";
|
||||
import {LogoUrlPipeModule} from "../openaireLibrary/utils/pipes/logoUrlPipe.module";
|
||||
|
||||
@NgModule({
|
||||
imports: [
|
||||
CommonModule, FormsModule, RouterModule, ErrorMessagesModule, OtherPortalsModule,
|
||||
HelperModule, Schema2jsonldModule, SEOServiceModule, HomeRoutingModule, SearchResearchResultsServiceModule,
|
||||
RefineFieldResultsServiceModule, AlertModalModule, IconsModule, UrlPrefixModule
|
||||
RefineFieldResultsServiceModule, AlertModalModule, IconsModule, UrlPrefixModule, LogoUrlPipeModule
|
||||
],
|
||||
declarations: [
|
||||
HomeComponent
|
||||
|
|
|
@ -1 +1 @@
|
|||
Subproject commit 3632510e387b3a83f8d8e0f27cd796912a19c741
|
||||
Subproject commit 7ef741c205a3659e28d1f8521a37e2cc0d969de5
|
|
@ -1 +1 @@
|
|||
Subproject commit 318c6560565a7a0da818385de27ebb430b22aea3
|
||||
Subproject commit 999d3833d3805534677aa741a3759e26e09b50f2
|
Loading…
Reference in New Issue