WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit f62dfc9

Browse files
committed
Minor bug fixes
1 parent c6c7c55 commit f62dfc9

File tree

1 file changed

+2
-2
lines changed
  • src/collective/iconifiedcategory/browser

1 file changed

+2
-2
lines changed

src/collective/iconifiedcategory/browser/tabview.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ def renderCell(self, content):
195195
target = '_blank'
196196
return pattern.format(
197197
link=url,
198-
title=html.escape(getattr(content, self.attrName).decode('utf-8')),
198+
title=html.escape(safe_unicode(getattr(content, self.attrName))),
199199
target=target,
200200
icon=content.icon_url,
201201
category=html.escape(safe_unicode(content.category_title)),
@@ -387,7 +387,7 @@ def is_deactivated(self, content):
387387
class ApprovedColumn(IconClickableColumn):
388388
header = _(u'Approved')
389389
cssClasses = {'td': 'iconified-approved'}
390-
weight = 100
390+
weight = 99
391391
attrName = 'approved'
392392
action_view_name = 'iconified-approved'
393393

0 commit comments

Comments
 (0)