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