##// END OF EJS Templates
wrap_paragraph was to slow for toolip generation and was removed.
marcink -
r1352:79041f2d beta
parent child Browse files
Show More
@@ -90,8 +90,7 b' class _ToolTip(object):'
90 :param tooltip_title:
90 :param tooltip_title:
91 """
91 """
92
92
93 return wrap_paragraphs(escape(tooltip_title), trim_at)\
93 return escape(tooltip_title)
94 .replace('\n', '<br/>')
95
94
96 def activate(self):
95 def activate(self):
97 """Adds tooltip mechanism to the given Html all tooltips have to have
96 """Adds tooltip mechanism to the given Html all tooltips have to have
@@ -269,13 +268,17 b' def pygmentize_annotation(repo_name, fil'
269 return "color: rgb(%s)! important;" % (', '.join(col))
268 return "color: rgb(%s)! important;" % (', '.join(col))
270
269
271 def url_func(repo_name):
270 def url_func(repo_name):
271
272 def _url_func(changeset):
272 def _url_func(changeset):
273 tooltip_html = "<div style='font-size:0.8em'><b>Author:</b>" + \
273 author = changeset.author
274 " %s<br/><b>Date:</b> %s</b><br/><b>Message:</b> %s<br/></div>"
274 date = changeset.date
275 message = tooltip(changeset.message)
275
276
276 tooltip_html = tooltip_html % (changeset.author,
277 tooltip_html = ("<div style='font-size:0.8em'><b>Author:</b>"
277 changeset.date,
278 " %s<br/><b>Date:</b> %s</b><br/><b>Message:"
278 tooltip(changeset.message))
279 "</b> %s<br/></div>")
280
281 tooltip_html = tooltip_html % (author, date, message)
279 lnk_format = '%5s:%s' % ('r%s' % changeset.revision,
282 lnk_format = '%5s:%s' % ('r%s' % changeset.revision,
280 short_id(changeset.raw_id))
283 short_id(changeset.raw_id))
281 uri = link_to(
284 uri = link_to(
General Comments 0
You need to be logged in to leave comments. Login now