show commit stats on PRs
This commit is contained in:
parent
9f9ea12a0b
commit
6e3e5b9876
3 changed files with 17 additions and 8 deletions
|
@ -22,13 +22,7 @@
|
|||
<img width="120" height="120" src="<%= it.commit.committer.avatar_url %>?size=120"></img>
|
||||
</div>
|
||||
</div>
|
||||
<div class="commit-stats info-line">
|
||||
<p><%= it.commit.stats.total %> lines changed</p>
|
||||
<p style="display: flex; gap: 0.25em; font-weight: 600;">
|
||||
<span style="color: #53d37c;">+<%= it.commit.stats.additions %></span>
|
||||
<span style="color: #d35353;">-<%= it.commit.stats.deletions %></span>
|
||||
</p>
|
||||
</div>
|
||||
<%~ include('partials/commit-stats.eta', {stats: it.commit.stats}) %>
|
||||
<div class="info-line">
|
||||
<img class="avatar" width="48" height="48" src="<%= it.commit.committer.avatar_url %>?size=48"></img>
|
||||
<p class="author"><%= it.commit.committer.full_name || it.commit.committer.login %></p>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue