comparison src/browser/sat_browser/blog.py @ 768:6c89dfdba563

browser_side (blog): typo in the CSS
author souliane <souliane@mailoo.org>
date Wed, 25 Nov 2015 17:03:36 +0100
parents 063385cbbfc2
children 5b28bca05d23
comparison
equal deleted inserted replaced
767:063385cbbfc2 768:6c89dfdba563
107 """Set the entry header.""" 107 """Set the entry header."""
108 if not self.new: 108 if not self.new:
109 author = html_tools.html_sanitize(unicode(self.item.author)) 109 author = html_tools.html_sanitize(unicode(self.item.author))
110 author_jid = html_tools.html_sanitize(unicode(self.item.author_jid)) 110 author_jid = html_tools.html_sanitize(unicode(self.item.author_jid))
111 if author_jid and not self.item.author_verified: 111 if author_jid and not self.item.author_verified:
112 author_jid += u' <span style="color=red; font-weight: bold;">⚠</span>' 112 author_jid += u' <span style="color:red; font-weight: bold;">⚠</span>'
113 if author: 113 if author:
114 author += " &lt;%s&gt;" % author_jid 114 author += " &lt;%s&gt;" % author_jid
115 elif author_jid: 115 elif author_jid:
116 author = author_jid 116 author = author_jid
117 else: 117 else: