Skip to content

Commit

Permalink
fix the template for process with nil root expression
Browse files Browse the repository at this point in the history
  • Loading branch information
Islam Amer committed Dec 15, 2011
1 parent 4d88655 commit e5aaa2a
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions lib/ruote-kit/views/process.html.haml
Expand Up @@ -55,12 +55,14 @@
%td
launch time
%td
= Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
- if @process.launched_time
= Time.parse(@process.launched_time).localtime.strftime('%Y/%m/%d %H:%M:%S')
%tr
%td
last active
%td
= Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
- if @process.last_active
= Time.parse(@process.last_active).localtime.strftime('%Y/%m/%d %H:%M:%S')
%tr
%td
root exp state
Expand Down

0 comments on commit e5aaa2a

Please sign in to comment.