We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 937fd96 commit 8a38639Copy full SHA for 8a38639
1 file changed
chef-server-slice/app/views/status/index.html.haml
@@ -23,7 +23,7 @@
23
%td= node["ipaddress"]
24
%td
25
.accordion
26
- = link_to("> " + node["uptime"].split(" ")[0..1].join(" ") + " ago", "#", :class => 'tooltip')
+ = link_to(node["uptime"].split(" ")[0..1].join(" ") , "#", :class => 'tooltip')
27
.tooltip
28
%table.table.tooltip
29
%tr
@@ -46,6 +46,8 @@
46
- status_msg = "> #{hours/24} days ago"
47
- elsif hours > 0
48
- status_msg = "> #{hours_text} ago"
49
+ - elsif minutes < 1
50
+ - status_msg = "< 1 minute ago"
51
- else
52
- status_msg = "#{minutes_text} ago"
53
= link_to(status_msg, "#", :class=> 'tooltip')
0 commit comments