# HG changeset patch # User Marcin Kuzminski # Date 1315586837 -10800 # Node ID 9d9e491e2a21195da5967ae848a560cbc49d2787 # Parent ca99d77173fec995978c560265c27e7c654b1098 added author to main page tooltip diff -r ca99d77173fe -r 9d9e491e2a21 rhodecode/public/js/rhodecode.js --- a/rhodecode/public/js/rhodecode.js Wed Sep 07 02:20:36 2011 +0300 +++ b/rhodecode/public/js/rhodecode.js Fri Sep 09 19:47:17 2011 +0300 @@ -42,7 +42,7 @@ // Replace the prototype property return format; - }(); +}(); /** * GLOBAL YUI Shortcuts @@ -113,7 +113,7 @@ /** * tooltip activate */ -function tooltip_activate(){ +var tooltip_activate = function(){ function toolTipsId(){ var ids = []; var tts = YUQ('.tooltip'); @@ -140,7 +140,7 @@ /** * 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',''); diff -r ca99d77173fe -r 9d9e491e2a21 rhodecode/templates/index_base.html --- a/rhodecode/templates/index_base.html Wed Sep 07 02:20:36 2011 +0300 +++ b/rhodecode/templates/index_base.html Fri Sep 09 19:47:17 2011 +0300 @@ -150,7 +150,7 @@ ${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