diff --git a/templates/web/common/doctype_icons.html.twig b/templates/web/common/doctype_icons.html.twig index 8136b910f1..dd5e9dc740 100644 --- a/templates/web/common/doctype_icons.html.twig +++ b/templates/web/common/doctype_icons.html.twig @@ -1,6 +1,6 @@ {% macro format(record)%} - {% set doctype = record.get_type() %} - {% if record.is_grouping() %} + {% set doctype = record.type %} + {% if record.story %} {% elseif doctype == 'image' %} diff --git a/templates/web/common/drop_down_options.html.twig b/templates/web/common/drop_down_options.html.twig index 1b7fdec14a..7fb23045e5 100644 --- a/templates/web/common/drop_down_options.html.twig +++ b/templates/web/common/drop_down_options.html.twig @@ -1,40 +1,40 @@ {% macro prod(record, entry_id)%} {% if not entry_id %} + id="contextTrigger_{{record.baseId}}_{{record.recordId}}">▼ + id="answerContext_{{record.baseId}}_{{record.recordId}}" class="contextMenu answercontextmenu">