files_tree_header.mako
49 lines
| 1.7 KiB
| application/x-mako
|
MakoHtmlLexer
r3648 | <%namespace name="base" file="/base/base.mako"/> | |||
<%namespace name="file_base" file="/files/base.mako"/> | ||||
Liviu
|
r3649 | <div class="summary"> | ||
<div class="fieldset"> | ||||
<div class="left-content"> | ||||
r4085 | <% | |||
rc_user = h.discover_user(c.commit.author_email) | ||||
%> | ||||
Liviu
|
r3650 | <div class="left-content-avatar"> | ||
r4085 | ${base.gravatar(c.commit.author_email, 30, tooltip=(True if rc_user else False), user=rc_user)} | |||
Liviu
|
r3649 | </div> | ||
Liviu
|
r3650 | <div class="left-content-message"> | ||
<div class="fieldset collapsable-content no-hide" data-toggle="summary-details"> | ||||
<div class="commit truncate-wrap">${h.urlify_commit_message(h.chop_at_smart(c.commit.message, '\n', suffix_if_chopped='...'), c.repo_name)}</div> | ||||
</div> | ||||
<div class="fieldset collapsable-content" data-toggle="summary-details"> | ||||
<div class="commit">${h.urlify_commit_message(c.commit.message,c.repo_name)}</div> | ||||
</div> | ||||
Liviu
|
r3720 | <div class="fieldset clear-fix"> | ||
Liviu
|
r3653 | <span class="commit-author">${h.link_to_user(c.commit.author)}</span><span class="commit-date"> - ${h.age_component(c.commit.date)}</span> | ||
Liviu
|
r3650 | </div> | ||
Liviu
|
r3649 | </div> | ||
</div> | ||||
<div class="right-content"> | ||||
r3882 | <div class="tags"> | |||
Liviu
|
r3649 | <code> | ||
<a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=c.commit.raw_id)}">${h.show_id(c.commit)}</a> | ||||
</code> | ||||
r3882 | <i class="tooltip icon-clipboard clipboard-action" data-clipboard-text="${c.commit.raw_id}" title="${_('Copy the full commit id')}"></i> | |||
Liviu
|
r3649 | ${file_base.refs(c.commit)} | ||
</div> | ||||
</div> | ||||
Liviu
|
r3653 | |||
<div class="clear-fix"></div> | ||||
Liviu
|
r3649 | |||
Liviu
|
r3653 | <div class="btn-collapse" data-toggle="summary-details"> | ||
${_('Show More')} | ||||
</div> | ||||
r3648 | </div> | |||
</div> | ||||
<script> | ||||
collapsableContent(); | ||||
</script> | ||||