Show More
@@ -9,7 +9,7 b'' | |||
|
9 | 9 | %> |
|
10 | 10 | <tr class="cb-line cb-line-fresh ${'cb-annotate' if show_annotation else ''}" |
|
11 | 11 | %if annotation: |
|
12 |
data-revision="${annotation. |
|
|
12 | data-revision="${annotation.idx}" | |
|
13 | 13 | %endif |
|
14 | 14 | > |
|
15 | 15 | |
@@ -28,11 +28,11 b'' | |||
|
28 | 28 | </td> |
|
29 | 29 | <td |
|
30 | 30 | class="cb-annotate-revision" |
|
31 |
data-revision="${annotation. |
|
|
32 |
onclick="$('[data-revision=${annotation. |
|
|
31 | data-revision="${annotation.idx}" | |
|
32 | onclick="$('[data-revision=${annotation.idx}]').toggleClass('cb-line-fresh')" | |
|
33 | 33 | style="background: ${bgcolor}"> |
|
34 | 34 | <a class="cb-annotate" href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=annotation.raw_id)}"> |
|
35 |
r${annotation. |
|
|
35 | r${annotation.idx} | |
|
36 | 36 | </a> |
|
37 | 37 | </td> |
|
38 | 38 | % else: |
@@ -40,8 +40,8 b'' | |||
|
40 | 40 | <td class="cb-annotate-message-spacer"></td> |
|
41 | 41 | <td |
|
42 | 42 | class="cb-annotate-revision" |
|
43 |
data-revision="${annotation. |
|
|
44 |
onclick="$('[data-revision=${annotation. |
|
|
43 | data-revision="${annotation.idx}" | |
|
44 | onclick="$('[data-revision=${annotation.idx}]').toggleClass('cb-line-fresh')" | |
|
45 | 45 | style="background: ${bgcolor}"> |
|
46 | 46 | </td> |
|
47 | 47 | % endif |
@@ -48,7 +48,7 b'' | |||
|
48 | 48 | |
|
49 | 49 | % if c.commit_ranges: |
|
50 | 50 | <code> |
|
51 |
r${c.source_commit. |
|
|
51 | r${c.source_commit.idx}:${h.short_id(c.source_commit.raw_id)}...r${c.target_commit.idx}:${h.short_id(c.target_commit.raw_id)} | |
|
52 | 52 | </code> |
|
53 | 53 | % endif |
|
54 | 54 | </h4> |
@@ -8,7 +8,7 b'' | |||
|
8 | 8 | <div class="info_box_elem previous"> |
|
9 | 9 | <a id="prev_commit_link" data-commit-id="${c.prev_commit.raw_id}" class="pjax-link ${'disabled' if c.url_prev == '#' else ''}" href="${c.url_prev}" title="${_('Previous commit')}"><i class="icon-left"></i></a> |
|
10 | 10 | </div> |
|
11 |
<div class="info_box_elem">${h.text('at_rev',value=c.commit. |
|
|
11 | <div class="info_box_elem">${h.text('at_rev',value=c.commit.idx)}</div> | |
|
12 | 12 | <div class="info_box_elem next"> |
|
13 | 13 | <a id="next_commit_link" data-commit-id="${c.next_commit.raw_id}" class="pjax-link ${'disabled' if c.url_next == '#' else ''}" href="${c.url_next}" title="${_('Next commit')}"><i class="icon-right"></i></a> |
|
14 | 14 | </div> |
@@ -59,7 +59,7 b'' | |||
|
59 | 59 | <td class="td-hash" data-attr-name="commit_id"> |
|
60 | 60 | % if c.full_load: |
|
61 | 61 | <div class="tooltip" title="${h.tooltip(node.last_commit.message)}"> |
|
62 |
<pre data-commit-id="${node.last_commit.raw_id}">r${node.last_commit. |
|
|
62 | <pre data-commit-id="${node.last_commit.raw_id}">r${node.last_commit.idx}:${node.last_commit.short_id}</pre> | |
|
63 | 63 | </div> |
|
64 | 64 | % endif |
|
65 | 65 | </td> |
@@ -511,7 +511,7 b'' | |||
|
511 | 511 | <td class="td-hash"> |
|
512 | 512 | <code> |
|
513 | 513 | <a href="${h.route_path('repo_commit', repo_name=c.target_repo.repo_name, commit_id=commit.raw_id)}"> |
|
514 |
r${commit. |
|
|
514 | r${commit.idx}:${h.short_id(commit.raw_id)} | |
|
515 | 515 | </a> |
|
516 | 516 | ${h.hidden('revisions', commit.raw_id)} |
|
517 | 517 | </code> |
General Comments 0
You need to be logged in to leave comments.
Login now