Skip to content

Commit d9ccb9d

Browse files
committed
Update _workflow.html.erb
1 parent 0a36d28 commit d9ccb9d

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

app/views/names/_workflow.html.erb

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,6 @@
1010
@downstream = false
1111
def workflow_step(title, test_fun)
1212
test = @name.send(test_fun)
13-
title = "To Be #{title}" if @downstream || !test
1413
content_tag(:div, class: 'card my-2') do
1514
title_class = 'text-' + (
1615
@downstream ? 'muted' : test ? 'success' : 'info'
@@ -275,7 +274,9 @@
275274
'check-circle' : 'hand-point-right',
276275
class: 'h2') %>
277276
<h4 class="d-sm-block d-lg-none"><%= '%02i' % k %></h4>
278-
<b class="d-none d-lg-block"><%= step.to_s.capitalize %></b>
277+
<b class="d-none d-lg-block">
278+
<%= pass == false ? "To be #{step}" : step.to_s.capitalize %>
279+
</b>
279280
</div>
280281
<% end %>
281282
</div>

0 commit comments

Comments
 (0)