Removed tag count from the widget to conserve vertical space

This commit is contained in:
Roberto Rosario
2011-11-07 02:08:45 -04:00
parent 38a035685b
commit 7121ad86d1

View File

@@ -10,8 +10,6 @@ def get_tags_inline_widget(document):
tag_count = document.tags.count()
if tag_count:
tags_template.append(u'<div class="tc">')
tags_template.append(u'<div>%(tag_string)s: %(tag_count)s</div>' % {
'tag_string': _(u'Tags'), 'tag_count': tag_count})
for tag in document.tags.all():
tags_template.append(u'<ul class="tags"><li style="background: %s;">%s</li></ul>' % (tag.tagproperties_set.get().get_color_code(), tag.name))