<% if @job.present? %>
See job #<%= @job.id %> execution progress at: <%= link_to job_url(@job), job_path(@job), target: :_blank %>
You need multi-threaded server to do that!
(Easiest workaraund: Include <%= link_to 'unicorn-rails', 'https://github.com/samuelkadolph/unicorn-rails', target: :_blank %> in your application)
<% end %>
<%= t('.name') %>
<%= @device.name %>
<%= t('.parent') %>
<%= @device.extfaceable.composite_id %>
<%= t('.driver') %>
<%= @device.driver_name %>
<%= t('.encoding') %>
<%= @device.encoding %>
<%= t('.created') %>
<%= distance_of_time_in_words_to_now @device.created_at %> ago
<%= t('.successful_jobs') %>
<%= @device.jobs.completed.count %> <% if @device.jobs.completed.any? %> (<%= t('.last') %>: <%= distance_of_time_in_words_to_now @device.jobs.maximum(:completed_at) %> ago) <% end %>
<%= t('.failures') %>
<%= @device.jobs.failed.count %> <% if @device.jobs.failed.any? %> (<%= t('.last') %>: <%= distance_of_time_in_words_to_now @device.jobs.maximum(:failed_at) %> ago) <% end %>
<%= t('.client_pull_url') %>
<%= extface.pull_url(@device.uuid) %>

<%= driver_control @device.driver %>

Jobs

<% @device.jobs.last(10).reverse.each do |job|%> <% end %>
Id Created Description Error Failed Completed Connected
<%= job.id %> <%= job.created_at %> <%= job.description %> <%= job.error %> <%= job.failed_at %> <%= job.completed_at %> <%= job.connected_at %>