Show More
@@ -1,46 +1,46 b'' | |||||
1 | <%namespace name="base" file="/base/base.mako"/> |
|
1 | <%namespace name="base" file="/base/base.mako"/> | |
2 | <%namespace name="file_base" file="/files/base.mako"/> |
|
2 | <%namespace name="file_base" file="/files/base.mako"/> | |
3 |
|
3 | |||
4 | <div class="summary"> |
|
4 | <div class="summary"> | |
5 | <div class="fieldset"> |
|
5 | <div class="fieldset"> | |
6 | <div class="left-content"> |
|
6 | <div class="left-content"> | |
7 |
|
7 | |||
8 | <div class="left-content-avatar"> |
|
8 | <div class="left-content-avatar"> | |
9 | ${base.gravatar(c.commit.author, 30)} |
|
9 | ${base.gravatar(c.commit.author_email, 30)} | |
10 | </div> |
|
10 | </div> | |
11 |
|
11 | |||
12 | <div class="left-content-message"> |
|
12 | <div class="left-content-message"> | |
13 | <div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> |
|
13 | <div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> | |
14 | <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> |
|
14 | <div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> | |
15 | </div> |
|
15 | </div> | |
16 |
|
16 | |||
17 | <div class="fieldset collapsable-content" data-toggle="summary-details"> |
|
17 | <div class="fieldset collapsable-content" data-toggle="summary-details"> | |
18 | <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> |
|
18 | <div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | |
19 | </div> |
|
19 | </div> | |
20 |
|
20 | |||
21 | <div class="clear-fix"> |
|
21 | <div class="clear-fix"> | |
22 | <span class="commit-author">${h.link_to_user(c.commit.author)}</span><span class="commit-date"> - ${h.age_component(c.commit.date)}</span> |
|
22 | <span class="commit-author">${h.link_to_user(c.commit.author)}</span><span class="commit-date"> - ${h.age_component(c.commit.date)}</span> | |
23 | </div> |
|
23 | </div> | |
24 | </div> |
|
24 | </div> | |
25 | </div> |
|
25 | </div> | |
26 |
|
26 | |||
27 | <div class="right-content"> |
|
27 | <div class="right-content"> | |
28 | <div class="tags commit-info"> |
|
28 | <div class="tags commit-info"> | |
29 | <code> |
|
29 | <code> | |
30 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> |
|
30 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> | |
31 | </code> |
|
31 | </code> | |
32 |
|
32 | |||
33 | ${file_base.refs(c.commit)} |
|
33 | ${file_base.refs(c.commit)} | |
34 | </div> |
|
34 | </div> | |
35 | </div> |
|
35 | </div> | |
36 |
|
36 | |||
37 | <div class="clear-fix"></div> |
|
37 | <div class="clear-fix"></div> | |
38 |
|
38 | |||
39 | <div class="btn-collapse" data-toggle="summary-details"> |
|
39 | <div class="btn-collapse" data-toggle="summary-details"> | |
40 | ${_('Show More')} |
|
40 | ${_('Show More')} | |
41 | </div> |
|
41 | </div> | |
42 | </div> |
|
42 | </div> | |
43 | </div> |
|
43 | </div> | |
44 | <script> |
|
44 | <script> | |
45 | collapsableContent(); |
|
45 | collapsableContent(); | |
46 | </script> |
|
46 | </script> |
General Comments 0
You need to be logged in to leave comments.
Login now