3899: Shorten count of ended/succeed/failed in a-r-p-i with some clever Ruby.
[arvados.git] / apps / workbench / app / views / application / _job_status_label.html.erb
index ece81676d806bbbb470340581cab71d5a01a24ab..0d012dbd30052d632552d6b3c81eccb153207ff8 100644 (file)
@@ -1,4 +1,4 @@
-<% status = Job.state j %>
+<% status = Job::state j %>
 <% to_label = {
      "Cancelled" => "danger",
      "Complete" => "success",