Changeset - 9d9e491e2a21
[Not reviewed]
beta
0 2 0
Marcin Kuzminski - 14 years ago 2011-09-09 18:47:17
marcin@python-works.com
added author to main page tooltip
2 files changed with 4 insertions and 4 deletions:
0 comments (0 inline, 0 general)
rhodecode/public/js/rhodecode.js
Show inline comments
 
@@ -39,13 +39,13 @@ String.prototype.format = function() {
 
	  // Allows for doing something like: if("".format.native) { /* use native */ }
 
	  format.native = String.prototype.format;
 

	
 
	  // Replace the prototype property
 
	  return format;
 

	
 
	}();
 
}();
 

	
 
/**
 
 * GLOBAL YUI Shortcuts
 
 */
 
var YUC = YAHOO.util.Connect;
 
var YUD = YAHOO.util.Dom;
 
@@ -110,13 +110,13 @@ function ypjax(url,container,s_call,f_ca
 
	
 
}
 

	
 
/**
 
 * tooltip activate
 
 */
 
function tooltip_activate(){
 
var tooltip_activate = function(){
 
    function toolTipsId(){
 
        var ids = [];
 
        var tts = YUQ('.tooltip');
 
        for (var i = 0; i < tts.length; i++) {
 
            // if element doesn't not have and id 
 
        	//  autogenerate one for tooltip 
 
@@ -137,13 +137,13 @@ function tooltip_activate(){
 
    });
 
}
 

	
 
/**
 
 * show more
 
 */
 
function show_more_event(){
 
var show_more_event = function(){
 
    YUE.on(YUD.getElementsByClassName('show_more'),'click',function(e){
 
        var el = e.target;
 
        YUD.setStyle(YUD.get(el.id.substring(1)),'display','');
 
        YUD.setStyle(el.parentNode,'display','none');
 
    });
 
}
rhodecode/templates/index_base.html
Show inline comments
 
@@ -147,13 +147,13 @@
 
                    </td>
 
                    <td>
 
                        %if repo['rev']>=0:
 
                        ${h.link_to('r%s:%s' % (repo['rev'],h.short_id(repo['tip'])),
 
                        h.url('changeset_home',repo_name=repo['name'],revision=repo['tip']),
 
                        class_="tooltip",
 
                        title=h.tooltip(repo['last_msg']))}
 
                        title=h.tooltip('%s\n%s' % (repo['author'],repo['last_msg'])))}
 
                        %else:
 
                            ${_('No changesets yet')}
 
                        %endif    
 
                    </td>
 
                    <td title="${repo['contact']}">${h.person(repo['contact'])}</td>
 
                    <td>
0 comments (0 inline, 0 general)