Show More
@@ -295,7 +295,12 b' var tooltipActivate = function () {' | |||
|
295 | 295 | instance.content(data); |
|
296 | 296 | }) |
|
297 | 297 | } else { |
|
298 | var data = '<div style="white-space: pre-wrap">{0}</div>'.format($origin.data('hovercardAlt')) | |
|
298 | if ($origin.data('hovercardAltHtml')) { | |
|
299 | var data = atob($origin.data('hovercardAltHtml')); | |
|
300 | } else { | |
|
301 | var data = '<div style="white-space: pre-wrap">{0}</div>'.format($origin.data('hovercardAlt')) | |
|
302 | } | |
|
303 | ||
|
299 | 304 | instance.content(data); |
|
300 | 305 | } |
|
301 | 306 |
@@ -1,4 +1,13 b'' | |||
|
1 | 1 | ## -*- coding: utf-8 -*- |
|
2 | ||
|
3 | ## base64 filter | |
|
4 | <%! | |
|
5 | def base64(text): | |
|
6 | import base64 | |
|
7 | from rhodecode.lib.helpers import safe_str | |
|
8 | return base64.encodestring(safe_str(text)) | |
|
9 | %> | |
|
10 | ||
|
2 | 11 | <%inherit file="root.mako"/> |
|
3 | 12 | |
|
4 | 13 | <%include file="/ejs_templates/templates.html"/> |
General Comments 0
You need to be logged in to leave comments.
Login now