diff options
author | root <root@viserion.(none)> | 2013-04-11 16:18:12 +0000 |
---|---|---|
committer | root <root@viserion.(none)> | 2013-04-11 16:18:12 +0000 |
commit | ee49f194c1659df01e0d26d634e13b13614b1683 (patch) | |
tree | 1bdc68eac5c81c5bfafe287a659266ee8ad33d69 /ishtar_common/widgets.py | |
parent | 6235aa64139d746b4d5d8c5afdaecef8a40196e3 (diff) | |
parent | b8df763695252dd9c6ba7e98ca7b23991f77aea1 (diff) | |
download | Ishtar-ee49f194c1659df01e0d26d634e13b13614b1683.tar.bz2 Ishtar-ee49f194c1659df01e0d26d634e13b13614b1683.zip |
Merge branch 'master' of lysithea.proxience.net:/home/proxience/git/ishtar
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),
|