Add also links to time entries in the invoice_form view

This commit is contained in:
Paul van Tilburg 2013-07-13 22:49:56 +02:00
parent 9e5ade6eb9
commit 368592356c
1 changed files with 3 additions and 2 deletions

View File

@ -2095,9 +2095,10 @@ module StopTime::Views
tr do
td.indent do
if entry.comment.present?
"#{entry.comment}"
a "#{entry.comment}", :href => R(TimelineN, entry.id),
:title => entry.comment
else
em.light "• no comment"
a :href => R(TimelineN, entry.id) { i "• None" }
end
end
td.text_right { "%.2fh" % entry.hours_total }