Changeset - 1294f2baf2bc
[Not reviewed]
beta
0 3 0
Marcin Kuzminski - 15 years ago 2011-01-01 22:43:37
marcin@python-works.com
added wrapping of long tooltips in index page
3 files changed with 6 insertions and 6 deletions:
0 comments (0 inline, 0 general)
rhodecode/lib/helpers.py
Show inline comments
 
@@ -92,9 +92,9 @@ def recursive_replace(str, replace=' '):
 
class _ToolTip(object):
 

	
 
    def __call__(self, tooltip_title, trim_at=50):
 
        """
 
        Special function just to wrap our text into nice formatted autowrapped
 
        text
 
        """Special function just to wrap our text into nice formatted 
 
        autowrapped text
 
        
 
        :param tooltip_title:
 
        """
 

	
rhodecode/templates/base/base.html
Show inline comments
 
@@ -353,7 +353,7 @@ function onSuccess(){
 

	
 
function toggleFollowingUser(fallows_user_id,token){
 
    args = 'follows_user_id='+fallows_user_id;
 
    args+= '&auth_token='+token;
 
    args+= '&auth_token='+token;
 
    YUC.asyncRequest('POST',base_url,{
 
        success:function(o){
 
        	onSuccess();
 
@@ -363,7 +363,7 @@ function toggleFollowingUser(fallows_use
 

	
 
function toggleFollowingRepo(fallows_repo_id,token){
 
    args = 'follows_repo_id='+fallows_repo_id;
 
    args+= '&auth_token='+token;
 
    args+= '&auth_token='+token;
 
    YUC.asyncRequest('POST',base_url,{
 
        success:function(o){
 
        	onSuccess();
rhodecode/templates/index.html
Show inline comments
 
@@ -87,7 +87,7 @@
 
		            </div>
 
		            </td>
 
		            ##DESCRIPTION
 
		            <td><span class="tooltip" title="${repo['description']}">
 
		            <td><span class="tooltip" title="${h.tooltip(repo['description'])}">
 
		               ${h.truncate(repo['description'],60)}</span>
 
		            </td>
 
		            ##LAST CHANGE
0 comments (0 inline, 0 general)