From 16477a2a5374a6a1a33931c7e8437112130e9971 Mon Sep 17 00:00:00 2001 From: Harrys Ravalomanana Date: Tue, 12 May 2020 18:40:23 +0400 Subject: [PATCH] PHRAS-2157 #comment Prod share fix iframe size #time 2h --- templates/web/prod/Share/record.html.twig | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/templates/web/prod/Share/record.html.twig b/templates/web/prod/Share/record.html.twig index ab2b3bd771..6fdecb50d3 100644 --- a/templates/web/prod/Share/record.html.twig +++ b/templates/web/prod/Share/record.html.twig @@ -65,15 +65,19 @@
{#{% if type == 'image' %}#} + {% set embedUrl = subdefList[defKey].embedUrl %} + {% if subdefList[defKey].height == 0 %} + {% set defKey = 'thumbnail' %} + {% endif %} {% spaceless %} {% endspaceless %}

- {{ 'previewLinkLabel' | trans }}    {{ 'copyClipboardLabel' | trans }}