web/views/scheduled.erb in que-web-0.8.0 vs web/views/scheduled.erb in que-web-0.9.0

- old
+ new

@@ -1,11 +1,11 @@ <div class="row"> <div class="small-12 medium-8 columns"> <h1><%= @list.total %> Scheduled Job<%= @list.total == 1 ? "" : "s" %></h1> </div> <div class="small-12 medium-4 columns"> - <%== erb :_search %> + <%= erb :_search %> </div> </div> <div class="row"> <div class="small-12 columns"> <table> @@ -21,16 +21,16 @@ </thead> <tbody> <% @list.page_jobs.each do |job| %> <tr> <td> - <a href="<%= link_to "jobs/#{job.id}" %>"><%== relative_time job.run_at %></a> - <%== erb :_past_due, locals: {job: job}%> + <a href="<%= link_to "jobs/#{job.id}" %>"><%= relative_time job.run_at %></a> + <%= erb :_past_due, locals: {job: job}%> </td> - <td><%= job.job_class %></td> - <td><%= job.queue %></td> - <td><pre><%= format_args job %></pre></td> + <td><%= h job.humanized_job_class %></td> + <td><%= h job.queue %></td> + <td><pre><%= h format_args(job) %></pre></td> <td> <form action="<%= link_to "jobs/#{job.id}" %>" method="post"> <input type="hidden" name="_method" value="put" /> <button class="plain" title="Run Immediately"><i class="fa fa-play-circle"></i></button> </form> @@ -47,10 +47,10 @@ </table> </div> </div> <div class="row"> <div class="small-8 columns"> - <%== erb :_pager %> + <%= erb :_pager %> </div> <% if @list.total > 0 %> <div class="small-4 columns text-right"> <form action="<%= link_to "jobs" %>" method="post" class="form-inline" onsubmit="return confirm('Run all <%= @list.total %> jobs now?');">