diff options
author | rhenium <rhenium@rhe.jp> | 2014-09-03 07:03:56 +0900 |
---|---|---|
committer | rhenium <rhenium@rhe.jp> | 2014-09-03 07:03:56 +0900 |
commit | c1c19fabbbc30cd48405ded77b2b663778af195f (patch) | |
tree | e6a0417e6ef166830edb9a89d2bd41a24826a067 | |
parent | 22057cb575105ab666b6c2cd668b9612a831574b (diff) | |
download | aclog-c1c19fabbbc30cd48405ded77b2b663778af195f.tar.gz |
web: about#status: fix...
-rw-r--r-- | app/views/about/status.html.haml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/views/about/status.html.haml b/app/views/about/status.html.haml index 65ec549..d865837 100644 --- a/app/views/about/status.html.haml +++ b/app/views/about/status.html.haml @@ -13,7 +13,7 @@ - @worker_status[:active_node_statuses].each do |node| - if node %tr - %td ##{node.connection_id} + %td ##{node[:connection_id]} %td Running %td= "#{(Time.now - node[:activated_time]).to_i / 60} minutes" - else @@ -22,7 +22,7 @@ %td Down %td - - if logged_in? - %p Worker ##{@worker_status[:active_node_statuses][current_user.account.worker_number].connection_id} is assigned to your account. + %p Worker ##{@worker_status[:active_node_statuses][current_user.account.worker_number][:connection_id]} is assigned to your account. - else .alert.alert-danger %strong Couldn't communicate with the collector service. |