diff --git a/ietf/doc/views_doc.py b/ietf/doc/views_doc.py index f21693fce..89218495f 100644 --- a/ietf/doc/views_doc.py +++ b/ietf/doc/views_doc.py @@ -566,6 +566,7 @@ def document_main(request, name, rev=None): latest_rev=latest_rev, snapshot=snapshot, can_manage_material=can_manage_material, + in_group_materials_types = doc.group and doc.group.features.has_materials and doc.type_id in doc.group.features.material_types, other_types=other_types, presentations=presentations, ), diff --git a/ietf/templates/doc/document_material.html b/ietf/templates/doc/document_material.html index 2d2d56636..ebc6e6af6 100644 --- a/ietf/templates/doc/document_material.html +++ b/ietf/templates/doc/document_material.html @@ -116,7 +116,7 @@