{title}Related commits{/title}

{add_bread_crumb}List of commits{/add_bread_crumb}

<div id="repository_project_object_commits">
{if is_foreachable($commits) and $commits|@count > 0}
  <div class="grouped_commits">
  {foreach from=$commits item=commits_day key=date}
    <div class="date_slip">
      <span>{$date}</span>
    </div>
    <table class="commit_history_table common">
    {foreach from=$commits_day name=commit_list item=commit}
      <tr class="commit {cycle values='odd,even'}">
      <td class="revision_number">
        <a href="{$commit->getViewUrl($active_project->getSlug())}" title="{lang}View commit details{/lang}" class="number">{$commit->getName()}</a><br />
      </td>
      <td class="revision_user">
        {assign var=commit_author value=$commit->getCommitedBy()}
          {if $commit_author instanceof User}
            {$commit_author->getDisplayName(true)}
          {else}
            {$commit->getCommitedByName()}
          {/if}
      </td>
      <td class="revision_details">
        <div class="commit_message">
          {$commit->getMessageTitle()|stripslashes nofilter}
        </div>
      </td>
    </tr>
    {/foreach}
  </table>
  {/foreach}
  </div>
{else}
  <p class="empty_page"><span class="inner">{lang}There are no commits related to this project object in the database.{/lang}</span></p>
{/if}
</div>