diff options
Diffstat (limited to 'src/web/lib')
-rwxr-xr-x | src/web/lib/misc_utils.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/web/lib/misc_utils.py b/src/web/lib/misc_utils.py index 07cb6ed5..ea0b18ce 100755 --- a/src/web/lib/misc_utils.py +++ b/src/web/lib/misc_utils.py @@ -272,8 +272,8 @@ def tag_cloud(tags): Generates a tags cloud. """ tags.sort(key=operator.itemgetter(0)) - return '\n'.join([('<font size=%d><a href="/search?query=%s" title="Count: %s">%s</a></font>' % \ - (min(1 + count * 7 / max([tag[1] for tag in tags]), 7), word, format(count, ',d'), word)) \ + return '\n'.join([('<font size=%d>%s</font>' % \ + (min(1 + count * 7 / max([tag[1] for tag in tags]), 7), word)) \ for (word, count) in tags]) if __name__ == "__main__": |