Show More
@@ -20,6 +20,11 b'' | |||
|
20 | 20 | <th></th> |
|
21 | 21 | <th>${_('Description')}</th> |
|
22 | 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 |
|
|
24 | 29 | <tr id="row-${commit.raw_id}" |
|
25 | 30 | commit_id="${commit.raw_id}" |
@@ -55,7 +60,7 b'' | |||
|
55 | 60 | class="message truncate" |
|
56 | 61 | data-message-raw="${commit.message}" |
|
57 | 62 | > |
|
58 |
${ |
|
|
63 | ${urlify_commit_message(commit.message, c.repo_name)} | |
|
59 | 64 | </div> |
|
60 | 65 | </div> |
|
61 | 66 | </td> |
@@ -11,6 +11,12 b'' | |||
|
11 | 11 | <th>${_('Author')}</th> |
|
12 | 12 | <th>${_('Refs')}</th> |
|
13 | 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 | 20 | %for cnt,cs in enumerate(c.repo_commits): |
|
15 | 21 | <tr class="parity${cnt%2}"> |
|
16 | 22 | |
@@ -44,7 +50,7 b'' | |||
|
44 | 50 | |
|
45 | 51 | <td class="td-description mid"> |
|
46 | 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 | 54 | </div> |
|
49 | 55 | </td> |
|
50 | 56 |
General Comments 0
You need to be logged in to leave comments.
Login now