From 368592356c185320b12aa1d49cca4a3298f6d41a Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Sat, 13 Jul 2013 22:49:56 +0200 Subject: [PATCH] Add also links to time entries in the invoice_form view --- stoptime.rb | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/stoptime.rb b/stoptime.rb index 2373f2f..a9f1620 100644 --- a/stoptime.rb +++ b/stoptime.rb @@ -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 }