{{status-icon status=item.state}} {{#if item.pullRequest}} Pull Request #{{item.pullRequestNumber}} {{item.pullRequestTitle}} {{else}} {{item.branch.name}} {{format-message commit.subject repo=item.repo}} {{/if}}

{{#if item.pullRequest}} {{format-message commit.subject repo=item.repo}}
{{/if}} {{format-message commit.body repo=item.repo pre=true}}

{{#if commit.authorName}} {{commit.authorName}} authored{{#if commit.authorIsCommitter}} and committed{{/if}} {{/if}} {{#unless commit.authorIsCommitter}} {{#if commit.committerName}} {{commit.committerName}} committed {{/if}} {{/unless}}

{{#if isJob}} {{#link-to "job" repo item}} {{request-icon event=item.build.eventType state=item.state}} #{{item.number}} {{humanize-state item.state}}{{/link-to}} {{else}} {{#link-to "build" repo item}} {{request-icon event=item.eventType state=item.state}} #{{item.number}} {{humanize-state item.state}}{{/link-to}} {{/if}}

{{#if isJob}} {{repo-actions job=item repo=item.repo user=auth.currentUser}} {{else}} {{repo-actions build=item repo=item.repo user=user}} {{/if}}