Skip to content

Commit 3448612

Browse files
committed
Fix commit status
1 parent c7d555d commit 3448612

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

app/views/shipit/commits/_commit.html.erb

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,11 @@
44
<%= render 'shipit/shared/author', author: commit.author %>
55
<% end %>
66

7-
<%= render 'shipit/statuses/status', status: commit.status %>
7+
<% if commit.status.group? %>
8+
<%= render 'shipit/statuses/group', group: commit.status %>
9+
<% else %>
10+
<%= render 'shipit/statuses/status', status: commit.status %>
11+
<% end %>
812
<div class="commit-details">
913
<span class="commit-title"><%= render_commit_message_with_link commit %></span>
1014
<p class="commit-meta">

0 commit comments

Comments
 (0)