diff --git a/src/app/dataset-detail/components/dataset-info/dataset-info.component.html b/src/app/dataset-detail/components/dataset-info/dataset-info.component.html index 2d4743c4ca77a123d550bcb70180bbe97f5e116c..3e2714a559da6f21d5aa98c34ce54c050c86bbd3 100644 --- a/src/app/dataset-detail/components/dataset-info/dataset-info.component.html +++ b/src/app/dataset-detail/components/dataset-info/dataset-info.component.html @@ -63,7 +63,7 @@ <img [src]="parent.imageUrl || './assets/img/vignette-collection.png'" alt="" aria-hidden="true" onerror="this.onerror=null;this.src='./assets/img/vignette-collection.png';this.alt='Default image'"> <a class="link-without-decoration" - [routerLink]="['/', AppRoutes.datasets.uri, parent.slug]">{{parent.title}}</a> + [routerLink]="['/' + AppRoutes.datasets.uri + '/' + parent.slug+'/info']">{{parent.title}}</a> </div> </div> </div> @@ -76,7 +76,7 @@ <img [src]="child.imageUrl || './assets/img/vignette-data.png'" alt="" aria-hidden="true" onerror="this.onerror=null;this.src='./assets/img/vignette-data.png';this.alt='Default image'"> <a class="link-without-decoration" - [routerLink]="['/', AppRoutes.datasets.uri, child.slug]">{{child.title}}</a> + [routerLink]="['/' + AppRoutes.datasets.uri + '/' + child.slug+'/info']">{{child.title}}</a> </div> </div> </div> diff --git a/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.html b/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.html index 0038305d02f976c02ba4a7dd6e6c6551d9198157..044ff02782049192466729d7a0332d525520e11b 100644 --- a/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.html +++ b/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.html @@ -14,7 +14,7 @@ <div class="relations-section" *ngIf="relations.datasetsMetadata.length > 0"> <span class="relation-type" i18n="@@cmsPostDetail.relatedDatasets">Related datasets</span> <div class="relation" *ngFor="let metadata of relations.datasetsMetadata"> - <a [routerLink]="['/', AppRoutes.datasets.uri, metadata.parentDataset.slug]"> + <a [routerLink]="['/' + AppRoutes.datasets.uri + '/' + metadata.parentDataset.slug+'/info']"> <img [src]="metadata.image.url" alt="" (error)="setBackupImage(metadata)" [ngClass]="{'fit': !metadata.image.url.includes('./assets/img')}"> <div class="relation-info"> diff --git a/src/app/editorialisation/components/reuse-detail/reuse-detail.component.html b/src/app/editorialisation/components/reuse-detail/reuse-detail.component.html index 809dec79015f526b004aedffab36bd8681fbaf8b..24a2a97dbf8e76b8398ac8fceb8c3c436d06b8a2 100644 --- a/src/app/editorialisation/components/reuse-detail/reuse-detail.component.html +++ b/src/app/editorialisation/components/reuse-detail/reuse-detail.component.html @@ -19,7 +19,7 @@ onerror="this.onerror=null;this.src='./assets/img/vignette-data.png';this.alt='Default image'"> <div class="dataset-title"> <a class="link-without-decoration" - [routerLink]="['/', AppRoutes.datasets.uri, dataset.parentDataset.slug]">{{dataset.title}}</a> + [routerLink]="['/' + AppRoutes.datasets.uri + '/' + dataset.parentDataset.slug+'/info']">{{dataset.title}}</a> </div> </div> </div>