changelog_file_history.mako
51 lines
| 2.1 KiB
| application/x-mako
|
MakoHtmlLexer
r1282 | <%namespace name="base" file="/base/base.mako"/> | |||
<div class="table"> | ||||
<table class="table rctable file_history"> | ||||
%for cnt,cs in enumerate(c.pagination): | ||||
r3706 | <tr id="chg_${cnt+1}" class="${('tablerow%s' % (cnt%2))}"> | |||
r1282 | <td class="td-user"> | |||
${base.gravatar_with_user(cs.author, 16)} | ||||
</td> | ||||
<td class="td-time"> | ||||
<div class="date"> | ||||
${h.age_component(cs.date)} | ||||
</div> | ||||
</td> | ||||
<td class="td-message"> | ||||
<div class="log-container"> | ||||
r1843 | <div class="message_history" title="${h.tooltip(cs.message)}"> | |||
r1951 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=cs.raw_id)}"> | |||
r1282 | ${h.shorter(cs.message, 75)} | |||
</a> | ||||
</div> | ||||
</div> | ||||
</td> | ||||
<td class="td-hash"> | ||||
<code> | ||||
r1951 | <a href="${h.route_path('repo_commit',repo_name=c.repo_name,commit_id=cs.raw_id)}"> | |||
r1282 | <span>${h.show_id(cs)}</span> | |||
</a> | ||||
</code> | ||||
</td> | ||||
<td class="td-actions"> | ||||
r1927 | <a href="${h.route_path('repo_files',repo_name=c.repo_name,commit_id=cs.raw_id,f_path=c.changelog_for_path)}"> | |||
r1282 | ${_('Show File')} | |||
</a> | ||||
</td> | ||||
r3706 | <td class="td-actions"> | |||
<a href="${h.route_path('repo_compare',repo_name=c.repo_name, source_ref_type="rev", source_ref=cs.raw_id,target_ref_type="rev", target_ref=c.commit_id,_query=dict(merge='1',f_path=c.changelog_for_path))}"> | ||||
r3709 | <span title="${'Diff {} vs {}'.format(cs.raw_id[:8],c.commit_id[:8])}">${_('Diff File')}</span> | |||
r3706 | </a> | |||
</td> | ||||
r1282 | </tr> | |||
%endfor | ||||
r3706 | <tr> | |||
<td colspan="6"> | ||||
<a id="file_history_overview_full" href="${h.route_path('repo_changelog_file',repo_name=c.repo_name, commit_id=c.commit_id, f_path=c.f_path)}"> | ||||
${_('Show Full History')} | ||||
</a> | ||||
</td> | ||||
</tr> | ||||
r1282 | </table> | |||
</div> | ||||