From 63d392f39b44e143501ca06178c2e9b59f5053f5 Mon Sep 17 00:00:00 2001 From: Stefan Wintermeyer Date: Sat, 26 Jan 2013 20:31:43 +0100 Subject: Colorcoded a not yet active phone. --- app/views/phones/_index_core.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/phones/_index_core.html.haml b/app/views/phones/_index_core.html.haml index 90920dd..347b260 100644 --- a/app/views/phones/_index_core.html.haml +++ b/app/views/phones/_index_core.html.haml @@ -16,7 +16,7 @@ %tbody - for phone in phones - %tr + %tr{:class => (phone.ip_address.blank? ? 'warning' : '')} %td= phone.pretty_mac_address %td= phone.phone_model %td -- cgit v1.2.3