Skip to content

Commit 8a38639

Browse files
ctennisAJ Christensen
authored andcommitted
1 minute ago
1 parent 937fd96 commit 8a38639

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

chef-server-slice/app/views/status/index.html.haml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
%td= node["ipaddress"]
2424
%td
2525
.accordion
26-
= link_to("> " + node["uptime"].split(" ")[0..1].join(" ") + " ago", "#", :class => 'tooltip')
26+
= link_to(node["uptime"].split(" ")[0..1].join(" ") , "#", :class => 'tooltip')
2727
.tooltip
2828
%table.table.tooltip
2929
%tr
@@ -46,6 +46,8 @@
4646
- status_msg = "> #{hours/24} days ago"
4747
- elsif hours > 0
4848
- status_msg = "> #{hours_text} ago"
49+
- elsif minutes < 1
50+
- status_msg = "&lt; 1 minute ago"
4951
- else
5052
- status_msg = "#{minutes_text} ago"
5153
= link_to(status_msg, "#", :class=> 'tooltip')

0 commit comments

Comments
 (0)