Skip to content

A platform for community discussion. Free, open, simple.

1.0 KB
Raw Blame
<div class="github-row">
  <div class="github-info-container">
    <h4>
      <a href="{{html_url}}" target="_blank" rel="noopener">{{title}}</a>
    </h4>

    <div class="github-info">
      <div class="date">
        {{i18n.committed}} <span class="discourse-local-date" data-format="ll" data-date="{{committed_at_date}}" data-time="{{committed_at_time}}" data-timezone="UTC">{{committed_at}}</span>
      </div>

      <div class="user">
        <a href="{{author.html_url}}" target="_blank" rel="noopener">
          <img alt="" src="{{author.avatar_url}}" class="onebox-avatar-inline" width="20" height="20">
          {{author.login}}
        </a>
      </div>

      <div class="lines" title="changed {{files.length}} files with {{stats.additions}} additions and {{stats.deletions}} deletions">
        <a href="{{html_url}}" target="_blank" rel="noopener">
          <span class="added">+{{stats.additions}}</span>
          <span class="removed">-{{stats.deletions}}</span>
        </a>
      </div>
    </div>
  </div>
</div>

{{> github/github_body}}