Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #16 from MeeGoIntegration/no-root-expression

process with no root expression
  • Loading branch information...
commit def4122b4ec68c1aac1f7a7d5cb681e6245bd99b 2 parents 9f1d328 + e5aaa2a
John Mettraux authored January 04, 2012

Showing 1 changed file with 4 additions and 2 deletions. Show diff stats Hide diff stats

  1. 6  lib/ruote-kit/views/process.html.haml
6  lib/ruote-kit/views/process.html.haml
@@ -55,12 +55,14 @@
55 55
     %td
56 56
       launch time
57 57
     %td
58  
-      = Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
  58
+      - if @process.launched_time
  59
+        = Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
59 60
   %tr
60 61
     %td
61 62
       last active
62 63
     %td
63  
-      = Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
  64
+      - if @process.last_active
  65
+        = Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
64 66
   %tr
65 67
     %td
66 68
       root exp state

0 notes on commit def4122

Please sign in to comment.
Something went wrong with that request. Please try again.