Skip to content

Commit f8b6eb8

Browse files
committed
Merged [7888] from rjsparks@nostrum.com: Only turns WG and RG groups into links. Fixes bug ietf-tools#1421. Will apply to production as a patch.
- Legacy-Id: 7928 Note: SVN reference [7888] has been migrated to Git commit 52936f2
2 parents d8735b8 + 52936f2 commit f8b6eb8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ietf/community/display.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ class WGField(DisplayField):
8585
rfcDescription = description
8686

8787
def get_value(self, document, raw=False):
88-
if raw:
88+
if raw or not document.group.type_id in ['wg','rg']:
8989
return document.group.acronym
9090
else:
9191
return '<a href="%s">%s</a>' % (urlreverse('group_docs', kwargs=dict(group_type=document.group.type_id, acronym=document.group.acronym)), document.group.acronym) if (document.group and document.group.acronym != 'none') else ''

0 commit comments

Comments
 (0)