Removed tag count from the widget to conserve vertical space
This commit is contained in:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user