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 | f6428834b80e5d0d4aab1855aa60ace3ebef9c2c (patch) | |
tree | 758f6e64f846a6c4468b2c74f9b464eecc7a3d89 | |
parent | e5e62aabd145b3ad8ace704423419dd3c727ee45 (diff) | |
download | Ishtar-f6428834b80e5d0d4aab1855aa60ace3ebef9c2c.tar.bz2 Ishtar-f6428834b80e5d0d4aab1855aa60ace3ebef9c2c.zip |
Fix availability of full export link on tables (closes #535)
-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),
|