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