diff --git a/package.json b/package.json index a51041ec529e669eaed022981ef5ff5ebd4a1bde..38853e740270d297d53ba589eca2f74bbd241eee 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "webapp", - "version": "2.6.5", + "version": "2.6.6", "license": "GNU Affero General Public License v3.0", "scripts": { "ng": "ng", 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 4b667156074c147d567525350e312a3f88a94ae7..0038305d02f976c02ba4a7dd6e6c6551d9198157 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 @@ -18,10 +18,11 @@ <img [src]="metadata.image.url" alt="" (error)="setBackupImage(metadata)" [ngClass]="{'fit': !metadata.image.url.includes('./assets/img')}"> <div class="relation-info"> - <span class="relation-title">{{ metadata.title }}</span> + <div class="relation-title">{{ metadata.title }}<span class="relation-subtitle" *ngIf="metadata.subtitle"> - {{ metadata.subtitle }}</span> + </div> <span class="relation-producer">{{ metadata.providers }}</span> </div> </a> </div> </div> -</section> \ No newline at end of file +</section> diff --git a/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.scss b/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.scss index cc8d888118ad039b7d1d3d40886b8fa50100f5b0..ee6f0b1fe43cbe81854b907e6300460d56dc9ccf 100644 --- a/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.scss +++ b/src/app/editorialisation/components/cms-post-detail/cms-post-detail.component.scss @@ -82,6 +82,11 @@ span { display: block; } + + .relation-subtitle { + display: inline; + font-weight: 500; + } } .relation-producer {