Skip to content

Commit 8d2e0a0

Browse files
committed
Merged in [18357] from rjsparks@nostrum.com:
Show link to a drafts group page for all group types when the draft has a group. Fixes ietf-tools#3061. - Legacy-Id: 18406 Note: SVN reference [18357] has been migrated to Git commit cf42db8
2 parents d05aeea + cf42db8 commit 8d2e0a0

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

ietf/doc/views_doc.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -288,10 +288,9 @@ def document_main(request, name, rev=None):
288288
submission = "individual"
289289
elif group.type_id == "area" and doc.stream_id == "ietf":
290290
submission = "individual in %s area" % group.acronym
291-
elif group.type_id in ("rg", "wg"):
291+
else:
292292
submission = "%s %s" % (group.acronym, group.type)
293-
if group.type_id == "wg":
294-
submission = "<a href=\"%s\">%s</a>" % (urlreverse("ietf.group.views.group_home", kwargs=dict(group_type=group.type_id, acronym=group.acronym)), submission)
293+
submission = "<a href=\"%s\">%s</a>" % (urlreverse("ietf.group.views.group_home", kwargs=dict(group_type=group.type_id, acronym=group.acronym)), submission)
295294
if doc.stream_id and doc.get_state_slug("draft-stream-%s" % doc.stream_id) == "c-adopt":
296295
submission = "candidate for %s" % submission
297296

0 commit comments

Comments
 (0)