Add also links to time entries in the invoice_form view
This commit is contained in:
parent
9e5ade6eb9
commit
368592356c
|
@ -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 }
|
||||
|
|
Loading…
Reference in New Issue