diff --git a/CHANGELOG.md b/CHANGELOG.md index bdbee04..6270881 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## Strano 1.0.0 (unreleased) ## +* Can now choose which branch to deploy from. *Joel Moss* * Fixed default verbosity (vvv). *Joel Moss* * Replaced Resque with the more efficient Sidekiq. *Joel Moss* * Refactored task processing, which now logs output in real time, and handles errors much more gracefully. *Joel Moss* diff --git a/app/views/projects/show/_tasks.html.erb b/app/views/projects/show/_tasks.html.erb index e13e570..899fc4a 100644 --- a/app/views/projects/show/_tasks.html.erb +++ b/app/views/projects/show/_tasks.html.erb @@ -7,7 +7,9 @@ <%- @recent_tasks.each do |job| -%> - <%= render :partial => "task", :locals => { :task => task, :hidden => false } if task = resource.cap.find_task(job.task) %> + <% if task = resource.cap.find_task(job.task) %> + <%= render :partial => "task", :locals => { :task => task, :hidden => false } %> + <% end %> <%- end -%>