Mark billed entries in the timeline (closes: #239c27)

This commit is contained in:
Paul van Tilburg 2011-11-28 13:26:12 +01:00
parent fc377460b4
commit 1850ae49ad
2 changed files with 4 additions and 1 deletions

View File

@ -1234,7 +1234,7 @@ module StopTime::Views
end
end
@time_entries.each do |entry|
tr do
tr(:class => entry.task.billed? ? "billed" : nil) do
td { a entry.task.name,
:href => R(CustomersNTasksN, entry.customer.id, entry.task.id) }
td { a entry.date.to_date,

View File

@ -17,6 +17,9 @@ $dark-red: #990000
clear: both
padding-top: 10px
.billed
text-decoration: line-through
/* Basic elements */
a
text-decoration: none