Show More
@@ -20,6 +20,11 b'' | |||||
20 | <th></th> |
|
20 | <th></th> | |
21 | <th>${_('Description')}</th> |
|
21 | <th>${_('Description')}</th> | |
22 | </tr> |
|
22 | </tr> | |
|
23 | ## to speed up lookups cache some functions before the loop | |||
|
24 | <% | |||
|
25 | active_patterns = h.get_active_pattern_entries(c.repo_name) | |||
|
26 | urlify_commit_message = h.partial(h.urlify_commit_message, active_pattern_entries=active_patterns) | |||
|
27 | %> | |||
23 |
|
|
28 | %for commit in c.commit_ranges: | |
24 | <tr id="row-${commit.raw_id}" |
|
29 | <tr id="row-${commit.raw_id}" | |
25 | commit_id="${commit.raw_id}" |
|
30 | commit_id="${commit.raw_id}" | |
@@ -55,7 +60,7 b'' | |||||
55 | class="message truncate" |
|
60 | class="message truncate" | |
56 | data-message-raw="${commit.message}" |
|
61 | data-message-raw="${commit.message}" | |
57 | > |
|
62 | > | |
58 |
${ |
|
63 | ${urlify_commit_message(commit.message, c.repo_name)} | |
59 | </div> |
|
64 | </div> | |
60 | </div> |
|
65 | </div> | |
61 | </td> |
|
66 | </td> |
@@ -11,6 +11,12 b'' | |||||
11 | <th>${_('Author')}</th> |
|
11 | <th>${_('Author')}</th> | |
12 | <th>${_('Refs')}</th> |
|
12 | <th>${_('Refs')}</th> | |
13 | </tr> |
|
13 | </tr> | |
|
14 | ||||
|
15 | ## to speed up lookups cache some functions before the loop | |||
|
16 | <% | |||
|
17 | active_patterns = h.get_active_pattern_entries(c.repo_name) | |||
|
18 | urlify_commit_message = h.partial(h.urlify_commit_message, active_pattern_entries=active_patterns) | |||
|
19 | %> | |||
14 | %for cnt,cs in enumerate(c.repo_commits): |
|
20 | %for cnt,cs in enumerate(c.repo_commits): | |
15 | <tr class="parity${cnt%2}"> |
|
21 | <tr class="parity${cnt%2}"> | |
16 |
|
22 | |||
@@ -44,7 +50,7 b'' | |||||
44 |
|
50 | |||
45 | <td class="td-description mid"> |
|
51 | <td class="td-description mid"> | |
46 | <div class="log-container truncate-wrap"> |
|
52 | <div class="log-container truncate-wrap"> | |
47 |
<div class="message truncate" id="c-${cs.raw_id}">${ |
|
53 | <div class="message truncate" id="c-${cs.raw_id}">${urlify_commit_message(cs.message, c.repo_name)}</div> | |
48 | </div> |
|
54 | </div> | |
49 | </td> |
|
55 | </td> | |
50 |
|
56 |
General Comments 0
You need to be logged in to leave comments.
Login now