Use the raw parameter to get_values to make the wg link not appear in the cvs export.
- Legacy-Id: 4532
This commit is contained in:
parent
adeafe8df2
commit
612ea9fd09
|
@ -63,7 +63,10 @@ class WGField(DisplayField):
|
|||
description = 'Associated WG or RG'
|
||||
|
||||
def get_value(self, document, raw=False):
|
||||
return '<a href="%s">%s</a>' % (urlreverse('wg_docs', kwargs={'acronym':document.group.acronym}), document.group.acronym) if document.group else ''
|
||||
if raw:
|
||||
return document.group.acronym if document.group else ''
|
||||
else:
|
||||
return '<a href="%s">%s</a>' % (urlreverse('wg_docs', kwargs={'acronym':document.group.acronym}), document.group.acronym) if document.group else ''
|
||||
|
||||
|
||||
class ADField(DisplayField):
|
||||
|
|
Loading…
Reference in a new issue