Skip to content

Commit

Permalink
Only turns WG and RG groups into links. Fixes bug #1421. Will apply t…
Browse files Browse the repository at this point in the history
…o production as a patch. Commit ready for merge.

 - Legacy-Id: 7888
  • Loading branch information
rjsparks committed Jun 11, 2014
1 parent 0539390 commit 52936f2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ietf/community/display.py
Expand Up @@ -85,7 +85,7 @@ class WGField(DisplayField):
rfcDescription = description

def get_value(self, document, raw=False):
if raw:
if raw or not document.group.type_id in ['wg','rg']:
return document.group.acronym
else:
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 ''
Expand Down

0 comments on commit 52936f2

Please sign in to comment.