##// END OF EJS Templates
added wrapping of long tooltips in index page
marcink -
r905:1294f2ba beta
parent child Browse files
Show More
@@ -92,9 +92,9 b" def recursive_replace(str, replace=' '):"
92 92 class _ToolTip(object):
93 93
94 94 def __call__(self, tooltip_title, trim_at=50):
95 """
96 Special function just to wrap our text into nice formatted autowrapped
97 text
95 """Special function just to wrap our text into nice formatted
96 autowrapped text
97
98 98 :param tooltip_title:
99 99 """
100 100
@@ -353,7 +353,7 b' function onSuccess(){'
353 353
354 354 function toggleFollowingUser(fallows_user_id,token){
355 355 args = 'follows_user_id='+fallows_user_id;
356 args+= '&auth_token='+token;
356 args+= '&auth_token='+token;
357 357 YUC.asyncRequest('POST',base_url,{
358 358 success:function(o){
359 359 onSuccess();
@@ -363,7 +363,7 b' function toggleFollowingUser(fallows_use'
363 363
364 364 function toggleFollowingRepo(fallows_repo_id,token){
365 365 args = 'follows_repo_id='+fallows_repo_id;
366 args+= '&auth_token='+token;
366 args+= '&auth_token='+token;
367 367 YUC.asyncRequest('POST',base_url,{
368 368 success:function(o){
369 369 onSuccess();
@@ -87,7 +87,7 b''
87 87 </div>
88 88 </td>
89 89 ##DESCRIPTION
90 <td><span class="tooltip" title="${repo['description']}">
90 <td><span class="tooltip" title="${h.tooltip(repo['description'])}">
91 91 ${h.truncate(repo['description'],60)}</span>
92 92 </td>
93 93 ##LAST CHANGE
General Comments 0
You need to be logged in to leave comments. Login now