The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.
[% INCLUDE 'nav/actions.tt2' object = commit %]

[% INCLUDE '_log_pager.tt2' %]

<div id='log'>
[%# XXX Nabbed the HTML below from gitweb's log action. %]
[% FOREACH line IN log_lines %]
  <div class='entry'>
  <div class="message">
     [% message = line.comment | html;
        message.replace("\n", "<br/>") %]
     <div class='chroma-hash'>[% INCLUDE '_chroma_hash.tt2' sha1 = line.sha1 %]</div>
    </div>
    <div class="meta">
     <table class='summary' cellspacing='0' cellpadding='0'>
      <tr><td>author</td><td class='author'>[% line.author.name | html %]</td></tr>
      <tr><td>authored time</td><td class='time'>[% line.authored_time %]</td></tr>
      [% IF line.author.name != line.committer.name %]
      <tr><td>committer</td><td class='author'>[% line.committer.name | html %]</td></tr>
      <tr><td>committered time</td><td class='time'>[% line.committed_time %]</td></tr>
      [% END %]
     </table>
     <span class="time-since">[% time_since(line.authored_time) %]</span>
     <div class="action-list">
       <a href="[% c.uri_for("commit", {h=line.sha}) %]">commit</a>
     | <a href="[% c.uri_for("commitdiff", {h=line.sha1}) %]">commitdiff</a>
     | <a href="[% c.uri_for("tree", {h=line.sha1, hb=line.sha1}) %]">tree</a>
     </div>
    </div>

  </div>
[% END %]
</div>


[% INCLUDE '_log_pager.tt2' %]