From 52936f21d1406673d65d71acca68885fd84624f0 Mon Sep 17 00:00:00 2001 From: Robert Sparks Date: Wed, 11 Jun 2014 19:44:43 +0000 Subject: [PATCH] Only turns WG and RG groups into links. Fixes bug #1421. Will apply to production as a patch. Commit ready for merge. - Legacy-Id: 7888 --- ietf/community/display.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ietf/community/display.py b/ietf/community/display.py index d42769597..ede88ecc7 100644 --- a/ietf/community/display.py +++ b/ietf/community/display.py @@ -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 '%s' % (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 ''