Grey out inactive distributors

This commit is contained in:
Rohan Mitchell
2012-06-26 08:24:32 +10:00
parent 0662e8f676
commit 34b694666c
2 changed files with 8 additions and 3 deletions

View File

@@ -33,8 +33,13 @@ nav#filters {
margin-bottom: 20px;
list-style: disc outside;
li a {
font-size: $main_navigation_font_size;
li {
a {
font-size: $main_navigation_font_size;
}
span.inactive {
color: #999;
}
}
}
}

View File

@@ -14,6 +14,6 @@
- elsif order.distributor == distributor
= link_to distributor.name, root_path
- else
= distributor.name
%span.inactive= distributor.name
- if current_distributor && order.can_change_distributor?
%li.nowrap= link_to 'Leave distributor', deselect_distributors_path