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 #3061.
- Legacy-Id: 18406
Note: SVN reference [18357] has been migrated to Git commit cf42db8804
This commit is contained in:
commit
8d2e0a0637
|
@ -288,10 +288,9 @@ def document_main(request, name, rev=None):
|
|||
submission = "individual"
|
||||
elif group.type_id == "area" and doc.stream_id == "ietf":
|
||||
submission = "individual in %s area" % group.acronym
|
||||
elif group.type_id in ("rg", "wg"):
|
||||
else:
|
||||
submission = "%s %s" % (group.acronym, group.type)
|
||||
if group.type_id == "wg":
|
||||
submission = "<a href=\"%s\">%s</a>" % (urlreverse("ietf.group.views.group_home", kwargs=dict(group_type=group.type_id, acronym=group.acronym)), submission)
|
||||
submission = "<a href=\"%s\">%s</a>" % (urlreverse("ietf.group.views.group_home", kwargs=dict(group_type=group.type_id, acronym=group.acronym)), submission)
|
||||
if doc.stream_id and doc.get_state_slug("draft-stream-%s" % doc.stream_id) == "c-adopt":
|
||||
submission = "candidate for %s" % submission
|
||||
|
||||
|
|
Loading…
Reference in a new issue