summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:31:43 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-26 20:31:43 +0100
commit63d392f39b44e143501ca06178c2e9b59f5053f5 (patch)
tree80aae876f491f99bb29185a36d711ff1e69b4a71 /app
parentbf0ab8ce84a7562b6724513d1a84c44de647e4ac (diff)
Colorcoded a not yet active phone.
Diffstat (limited to 'app')
-rw-r--r--app/views/phones/_index_core.html.haml2
1 files changed, 1 insertions, 1 deletions
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