[Monitor | Trunk]: Add urlPrefix on stakeholder logo url
git-svn-id: https://svn.driver.research-infrastructures.eu/driver/dnet40/modules/uoa-monitor-portal/trunk/monitor@60584 d315682c-612b-4755-9ff5-7f18f6832af3
This commit is contained in:
parent
e9ce82d27f
commit
67f4f9569e
|
@ -195,7 +195,7 @@
|
||||||
</div>
|
</div>
|
||||||
<img *ngIf="stakeholder.logoUrl && stakeholder.isUpload" class="uk-margin-auto"
|
<img *ngIf="stakeholder.logoUrl && stakeholder.isUpload" class="uk-margin-auto"
|
||||||
[src]="properties.utilsService + '/download/' + stakeholder.logoUrl">
|
[src]="properties.utilsService + '/download/' + stakeholder.logoUrl">
|
||||||
<img *ngIf="stakeholder.logoUrl && !stakeholder.isUpload" class="uk-margin-auto" [src]="stakeholder.logoUrl">
|
<img *ngIf="stakeholder.logoUrl && !stakeholder.isUpload" class="uk-margin-auto" [src]="stakeholder.logoUrl | urlPrefix">
|
||||||
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
|
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
@ -208,7 +208,7 @@
|
||||||
</div>
|
</div>
|
||||||
<img *ngIf="stakeholder.logoUrl && stakeholder.isUpload" class="uk-margin-auto"
|
<img *ngIf="stakeholder.logoUrl && stakeholder.isUpload" class="uk-margin-auto"
|
||||||
[src]="properties.utilsService + '/download/' + stakeholder.logoUrl">
|
[src]="properties.utilsService + '/download/' + stakeholder.logoUrl">
|
||||||
<img *ngIf="stakeholder.logoUrl && !stakeholder.isUpload" class="uk-margin-auto" [src]="stakeholder.logoUrl">
|
<img *ngIf="stakeholder.logoUrl && !stakeholder.isUpload" class="uk-margin-auto" [src]="stakeholder.logoUrl | urlPrefix">
|
||||||
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
|
<div class="uk-text-light uk-margin-medium-top">{{stakeholder.name}}</div>
|
||||||
</div>
|
</div>
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -20,12 +20,13 @@ import {AlertModalModule} from "../openaireLibrary/utils/modal/alertModal.module
|
||||||
import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
|
import {IconsModule} from "../openaireLibrary/utils/icons/icons.module";
|
||||||
import {IconsService} from "../openaireLibrary/utils/icons/icons.service";
|
import {IconsService} from "../openaireLibrary/utils/icons/icons.service";
|
||||||
import {group, lock} from "../openaireLibrary/utils/icons/icons";
|
import {group, lock} from "../openaireLibrary/utils/icons/icons";
|
||||||
|
import {UrlPrefixModule} from "../openaireLibrary/utils/pipes/url-prefix.module";
|
||||||
|
|
||||||
@NgModule({
|
@NgModule({
|
||||||
imports: [
|
imports: [
|
||||||
CommonModule, FormsModule, RouterModule, ErrorMessagesModule, OtherPortalsModule,
|
CommonModule, FormsModule, RouterModule, ErrorMessagesModule, OtherPortalsModule,
|
||||||
HelperModule, Schema2jsonldModule, SEOServiceModule, HomeRoutingModule, SearchResearchResultsServiceModule,
|
HelperModule, Schema2jsonldModule, SEOServiceModule, HomeRoutingModule, SearchResearchResultsServiceModule,
|
||||||
RefineFieldResultsServiceModule, AlertModalModule, IconsModule
|
RefineFieldResultsServiceModule, AlertModalModule, IconsModule, UrlPrefixModule
|
||||||
],
|
],
|
||||||
declarations: [
|
declarations: [
|
||||||
HomeComponent
|
HomeComponent
|
||||||
|
|
Loading…
Reference in New Issue