# HG changeset patch # User Marcin Kuzminski # Date 1291410371 -3600 # Node ID 26602c8a9bed3ab51d0ab324b88a1f844e73f3c4 # Parent b92d9a0321e034abb66c0667c972a21d168a6aa0 added tooltip into changelog files affected diff -r b92d9a0321e0 -r 26602c8a9bed rhodecode/public/css/style.css --- a/rhodecode/public/css/style.css Fri Dec 03 21:23:20 2010 +0100 +++ b/rhodecode/public/css/style.css Fri Dec 03 22:06:11 2010 +0100 @@ -1564,6 +1564,7 @@ float:right; text-align:center; min-width:15px; +cursor: help; } .right .changes .added { diff -r b92d9a0321e0 -r 26602c8a9bed rhodecode/templates/changelog/changelog.html --- a/rhodecode/templates/changelog/changelog.html Fri Dec 03 21:23:20 2010 +0100 +++ b/rhodecode/templates/changelog/changelog.html Fri Dec 03 22:06:11 2010 +0100 @@ -58,9 +58,22 @@
- ${len(cs.removed)} - ${len(cs.changed)} - ${len(cs.added)} + + <%! + def changed_tooltip(cs): + if cs: + pref = ': ' + suf = '' + if len(cs) > 30: + suf='
and %s more' % (len(cs) - 30) + return pref+'
'.join([x.path for x in cs[:30]]) + suf + else: + return 'No Files' + %> + + ${len(cs.removed)} + ${len(cs.changed)} + ${len(cs.added)}
%if len(cs.parents)>1: