diff --git a/templates/web/prod/Tooltip/Caption.html.twig b/templates/web/prod/Tooltip/Caption.html.twig index 0f2438fb59..f69897be45 100644 --- a/templates/web/prod/Tooltip/Caption.html.twig +++ b/templates/web/prod/Tooltip/Caption.html.twig @@ -5,5 +5,5 @@ {% set maxwidth = 700 %} {% block content %} - {% include 'common/caption.html' %} + {% include 'common/caption.html.twig' %} {% endblock %} diff --git a/templates/web/prod/preview/caption.html b/templates/web/prod/preview/caption.html index 68c115d04a..931f7b7fe7 100644 --- a/templates/web/prod/preview/caption.html +++ b/templates/web/prod/preview/caption.html @@ -1,4 +1,4 @@ -{% import 'common/caption_templates/preview.html' as caption %} +{% import 'common/caption_templates/preview.html.twig' as caption %} {% if user.ACL().has_right_on_base(record.get_base_id, 'canmodifrecord') %}
diff --git a/templates/web/prod/results/answerlist.html b/templates/web/prod/results/answerlist.html index 1acef604bf..eea6486a8a 100644 --- a/templates/web/prod/results/answerlist.html +++ b/templates/web/prod/results/answerlist.html @@ -2,7 +2,7 @@ {% extends "prod/results/answerabstract.twig" %} {% block content %} -{% import 'common/caption_templates/answer.html' as caption %} +{% import 'common/caption_templates/answer.html.twig' as caption %} {% for record in results.get_datas() %}
diff --git a/templates/web/prod/results/record.html b/templates/web/prod/results/record.html index 41c8c25b0f..98227f626b 100644 --- a/templates/web/prod/results/record.html +++ b/templates/web/prod/results/record.html @@ -1,7 +1,7 @@ {% macro block(record, user, session, highlight, searchEngine, prefix, entry_id)%} {% import 'common/thumbnail.html' as thumbnail %} - {% import 'common/doctype_icons.html' as doctype_icons %} - {% import 'common/drop_down_options.html' as drop_down %} + {% import 'common/doctype_icons.html.twig' as doctype_icons %} + {% import 'common/drop_down_options.html.twig' as drop_down %} {% set th_size = user.getPrefs('images_size')%} {% set sbas_id = record.get_base_id|sbasFromBas %} {% if entry_id %}