Skip to content

Commit 52936f2

Browse files
committed
Only turns WG and RG groups into links. Fixes bug ietf-tools#1421. Will apply to production as a patch. Commit ready for merge.
- Legacy-Id: 7888
1 parent 0539390 commit 52936f2

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)