changeset 2591:86c544532840 beta

add commit messaged and gravatar to split compare view
author Marcin Kuzminski <marcin@python-works.com>
date Wed, 11 Jul 2012 19:31:44 +0200
parents f8016ab6c163
children f6800c5e5b2d
files rhodecode/templates/changeset/changeset_range.html
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/rhodecode/templates/changeset/changeset_range.html	Wed Jul 11 19:23:04 2012 +0200
+++ b/rhodecode/templates/changeset/changeset_range.html	Wed Jul 11 19:31:44 2012 +0200
@@ -68,8 +68,12 @@
      %for cs in c.cs_ranges:
           ##${comment.comment_inline_form(cs)}
           ## diff block
-          <h3 style="padding-top:8px;">${h.link_to('r%s:%s' % (cs.revision,h.short_id(cs.raw_id)),h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id))}</h3>
-
+          <h3 style="padding-top:8px;">
+          <a class="tooltip" title="${h.tooltip(cs.message)}" href="${h.url('changeset_home',repo_name=c.repo_name,revision=cs.raw_id)}">${'r%s:%s' % (cs.revision,h.short_id(cs.raw_id))}</a>
+           <div class="gravatar">
+               <img alt="gravatar" src="${h.gravatar_url(h.email(cs.author),20)}"/>
+           </div>            
+           </h3>
           ${diff_block.diff_block(c.changes[cs.raw_id])}
           ##${comment.comments(cs)}