We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f2a9451 commit a0c5077Copy full SHA for a0c5077
app/views/workflows/show.html.erb
@@ -8,7 +8,14 @@
8
<div class='row'>
9
<div class='col-md-12'>
10
<div class="page-header">
11
- <h1><%= workflow_label(@workflow, "#{@workflow.name} Workflow") %></h1>
+ <h1>
12
+ <% if @workflow.icon.blank? %>
13
+ <%= workflow_label(@workflow, icon('fa', 'cog'))%>
14
+ <% else %>
15
+ <%= workflow_label(@workflow, icon('fa', @workflow.icon))%>
16
+ <% end %>
17
+ <%= "#{@workflow.name} Workflow" %>
18
+ </h1>
19
<% if @workflow.description.present? %>
20
<%= markdown(@workflow.description) %>
21
<% end %>
0 commit comments