##// END OF EJS Templates
Use changelog controller for displaying history of files....
Use changelog controller for displaying history of files. step 1 for removing obsolete shortlog

File last commit:

r3760:6302a142 beta
r3760:6302a142 beta
Show More
files_history_box.html
26 lines | 1.3 KiB | text/html | HtmlLexer
<dl>
<dt class="file_history">${_('History')}</dt>
<dd>
<div>
<div style="float:left">
${h.form(h.url('files_diff_home',repo_name=c.repo_name,f_path=c.f_path),method='get')}
${h.hidden('diff2',c.file_changeset.raw_id)}
${h.select('diff1',c.file_changeset.raw_id,c.file_history)}
${h.submit('diff',_('Diff to revision'),class_="ui-btn")}
${h.submit('show_rev',_('Show at revision'),class_="ui-btn")}
${h.link_to(_('Show full history'),h.url('changelog_file_home',repo_name=c.repo_name, revision=c.file_changeset.raw_id, f_path=c.f_path),class_="ui-btn")}
${h.hidden('annotate', c.annotate)}
${h.end_form()}
</div>
<div class="file_author">
<div class="item">${h.literal(ungettext(u'%s author',u'%s authors',len(c.authors)) % ('<b>%s</b>' % len(c.authors))) }</div>
%for email, user in c.authors:
<div class="contributor tooltip" style="float:left" title="${h.tooltip(user)}">
<div class="gravatar" style="margin:1px"><img alt="gravatar" src="${h.gravatar_url(email, 20)}"/> </div>
</div>
%endfor
</div>
</div>
<div style="clear:both"></div>
</dd>
</dl>