|
@@ -2,7 +2,7 @@
|
|
|
<div class="container">
|
|
|
<div class="contentPage-w">
|
|
|
<div class="advertisiment">
|
|
|
- <img src="{{ authSer.pathImg + advertisiment.photo }}" />
|
|
|
+ <img *ngIf="advertisiment.photo" src="{{ advertisiment.photo ? authSer.pathImg + advertisiment.photo : ''}}" />
|
|
|
</div>
|
|
|
|
|
|
<div class="servicesContent-w">
|
|
@@ -13,7 +13,7 @@
|
|
|
<div class="col-lg-6 col-md-12 col-sm-4 col-xs-12 editRowPadding-w" *ngFor="let service of externalServices">
|
|
|
<a class="hyperLink" (click)="onGetService(service)">
|
|
|
<div class="serviceItem-w">
|
|
|
- <img src="{{authSer.pathImg + service.photo}}" title="TITLE NEED SHOW ON HOVER"/>
|
|
|
+ <img src="{{service.photo ? authSer.pathImg + service.photo : ''}}" title="TITLE NEED SHOW ON HOVER"/>
|
|
|
<p>{{service.name}}</p>
|
|
|
</div>
|
|
|
</a>
|
|
@@ -26,7 +26,7 @@
|
|
|
<div *ngIf="reportsData.length > 1">
|
|
|
<ngb-carousel #myCarousel="ngbCarousel">
|
|
|
<ng-template ngbSlide *ngFor="let report of reportsData; let i = index" id={{i}} >
|
|
|
- <img [src]="authSer.pathImg + report.photo.photo" alt="Random first slide">
|
|
|
+ <img [src]="report.photo ? authSer.pathImg + report.photo.photo : ''" alt="Random first slide">
|
|
|
<div class="carousel-caption">
|
|
|
<h4>{{report.title}}</h4>
|
|
|
<p class="paragraphTemplate-w" [innerHTML] = "report.description"> </p>
|
|
@@ -272,7 +272,7 @@
|
|
|
<div class="slider" *ngIf="reportsData.length > 1">
|
|
|
<ngb-carousel>
|
|
|
<ng-template *ngFor="let report of reportsData" ngbSlide>
|
|
|
- <img src="{{authSer.pathImg + report.photo.photo}}" alt="Random first slide">
|
|
|
+ <img src="{{report.photo ? authSer.pathImg + report.photo.photo : ''}}" alt="Random first slide">
|
|
|
<div class="carousel-caption">
|
|
|
<h4>{{report.title_en}}</h4>
|
|
|
<p class="paragraphTemplate-w" [innerHTML] = "report.description_en"></p>
|