changeset 2954:9282b4f38277 beta

shorten the journal compare tooltip
author Marcin Kuzminski <marcin@python-works.com>
date Tue, 23 Oct 2012 14:33:06 +0200
parents ac83f7a809a6
children 9c85d884315b
files rhodecode/lib/helpers.py
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/lib/helpers.py	Tue Oct 23 14:25:00 2012 +0200
+++ b/rhodecode/lib/helpers.py	Tue Oct 23 14:33:06 2012 +0200
@@ -568,7 +568,7 @@
             ' <div class="compare_view tooltip" title="%s">'
             '<a href="%s">%s</a> </div>' % (
                 _('Show all combined changesets %s->%s') % (
-                    revs_ids[0], revs_ids[-1]
+                    revs_ids[0][:12], revs_ids[-1][:12]
                 ),
                 url('changeset_home', repo_name=repo_name,
                     revision='%s...%s' % (revs_ids[0], revs_ids[-1])