Changeset - 9f9e7c937eb0
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-03-06 20:18:41
marcin@python-works.com
use short id in ancestor
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
rhodecode/templates/compare/compare_cs.html
Show inline comments
 
@@ -16,21 +16,21 @@
 
        %if c.as_form:
 
          ${h.hidden('revisions',cs.raw_id)}
 
        %endif
 
        </td>
 
        <td><div class="author">${h.person(cs.author)}</div></td>
 
        <td><span class="tooltip" title="${h.tooltip(h.age(cs.date))}">${cs.date}</span></td>
 
        <td><div class="message tooltip" title="${h.tooltip(cs.message)}" style="white-space:normal">${h.urlify_commit(h.shorter(cs.message, 60),c.repo_name)}</div></td>
 
        </tr>
 
    %endfor
 
    </table>
 
    %if c.ancestor:
 
    <span class="ancestor">${_('Ancestor')}:
 
      ${h.link_to(c.ancestor,h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))}
 
      ${h.link_to(h.short_id(c.ancestor),h.url('changeset_home',repo_name=c.repo_name,revision=c.ancestor))}
 
    </span>
 
    %endif
 
    %if c.as_form:
 
      ${h.hidden('ancestor_rev',c.ancestor)}
 
      ${h.hidden('merge_rev',c.cs_ranges[-1].raw_id)}
 
    %endif
 
  %endif
 
</div>
0 comments (0 inline, 0 general)