diff options
author | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-11 17:20:21 +0200 |
---|---|---|
committer | Étienne Loks <etienne.loks@peacefrogs.net> | 2013-04-11 17:26:06 +0200 |
commit | e2aa1b4933081add885e241a2e33f49fcc1c1d81 (patch) | |
tree | 758f6e64f846a6c4468b2c74f9b464eecc7a3d89 /ishtar_common/widgets.py | |
parent | af94590c1865a9e293872b8275f8c3e2ad163189 (diff) | |
download | Ishtar-e2aa1b4933081add885e241a2e33f49fcc1c1d81.tar.bz2 Ishtar-e2aa1b4933081add885e241a2e33f49fcc1c1d81.zip |
Fix availability of full export link on tables (closes #535)
Diffstat (limited to 'ishtar_common/widgets.py')
-rw-r--r-- | ishtar_common/widgets.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ishtar_common/widgets.py b/ishtar_common/widgets.py index 06d6f20f0..3ecdad310 100644 --- a/ishtar_common/widgets.py +++ b/ishtar_common/widgets.py @@ -248,7 +248,7 @@ class JQueryJqGrid(forms.RadioSelect): u"<div id='pager_%s'></div>\n"% (name, name)
encoding = settings.ENCODING or 'utf-8'
rendered += u"<div id='foot_%s' class='gridfooter'>\n" % name
- if unicode(self.source_full):
+ if unicode(self.source_full) and unicode(self.source_full) != 'None':
rendered += u"%s (%s) <a href='%scsv' target='_blank'>%s</a> - "\
u"<a href='%scsv' target='_blank'>%s</a>\n" % (
unicode(_("Export as CSV")), encoding, unicode(self.source),
|