diff --git a/ietf/group/info.py b/ietf/group/info.py index d66719436..c44130f89 100644 --- a/ietf/group/info.py +++ b/ietf/group/info.py @@ -755,7 +755,7 @@ def make_dot(group): @cache_page(60 * 60) def dependencies(request, acronym, group_type=None, output_type="pdf"): group = get_group_or_404(acronym, group_type) - if not group.features.has_documents: + if not group.features.has_documents or output_type not in ["dot", "pdf", "svg"]: raise Http404 dothandle, dotname = mkstemp() diff --git a/ietf/templates/group/active_dirs.html b/ietf/templates/group/active_dirs.html index c3a312189..3a06bdb97 100644 --- a/ietf/templates/group/active_dirs.html +++ b/ietf/templates/group/active_dirs.html @@ -17,6 +17,7 @@