<% if (task) { %> <% if (task.match({status: 'ready'})) { %> <% var warningPanelClass = task.match({name: ['deploy', 'update']}) ? 'global-success' : 'globalalert' %>

<%= urlify(linebreaks(task.escape('message'))) %>

<% } else if (task.match({status: 'error'})) { %>
<% if (!task.match({name: 'redhat_setup'})) { %> <% } %>

<%= urlify(linebreaks(task.escape('message'))) %> <% if (task.match({name: 'redhat_setup'})) { %> <% var options = {type: 'local', source: 'astute', level: 'warning'} %> <% logsLink = '#cluster/' + cluster.id + '/logs/' + serializeTabOptions(options) %>
<%- $.t('cluster_page.reconfigure_redhat_account', {opt1: '', opt2: ''}) %> . <% } %>

<% } %> <% } %>