changeset 1458:9d9e491e2a21 beta

added author to main page tooltip
author Marcin Kuzminski <marcin@python-works.com>
date Fri, 09 Sep 2011 19:47:17 +0300
parents ca99d77173fe
children 6691d4097344
files rhodecode/public/js/rhodecode.js rhodecode/templates/index_base.html
diffstat 2 files changed, 4 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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','');
--- 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