We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0a36d28 commit d9ccb9dCopy full SHA for d9ccb9d
1 file changed
app/views/names/_workflow.html.erb
@@ -10,7 +10,6 @@
10
@downstream = false
11
def workflow_step(title, test_fun)
12
test = @name.send(test_fun)
13
- title = "To Be #{title}" if @downstream || !test
14
content_tag(:div, class: 'card my-2') do
15
title_class = 'text-' + (
16
@downstream ? 'muted' : test ? 'success' : 'info'
@@ -275,7 +274,9 @@
275
274
'check-circle' : 'hand-point-right',
276
class: 'h2') %>
277
<h4 class="d-sm-block d-lg-none"><%= '%02i' % k %></h4>
278
- <b class="d-none d-lg-block"><%= step.to_s.capitalize %></b>
+ <b class="d-none d-lg-block">
+ <%= pass == false ? "To be #{step}" : step.to_s.capitalize %>
279
+ </b>
280
</div>
281
<% end %>
282
0 commit comments