diff options
author | francis <francis> | 2008-05-16 12:54:19 +0000 |
---|---|---|
committer | francis <francis> | 2008-05-16 12:54:19 +0000 |
commit | 15ae4bb6d0ac8bd21a024ee7b5a3a7115afef892 (patch) | |
tree | a6292f915adfa55a0f348a8025ee68ddadb2f2d3 | |
parent | d04cebfd02d5424504c6dfd4d8f1c036fb909bd3 (diff) |
Highlight titles in email alerts.
-rw-r--r-- | app/views/track_mailer/event_digest.rhtml | 2 | ||||
-rw-r--r-- | todo.txt | 2 |
2 files changed, 1 insertions, 3 deletions
diff --git a/app/views/track_mailer/event_digest.rhtml b/app/views/track_mailer/event_digest.rhtml index f74be2854..bcc7a9c17 100644 --- a/app/views/track_mailer/event_digest.rhtml +++ b/app/views/track_mailer/event_digest.rhtml @@ -12,7 +12,7 @@ # Request title - only add title if we're not tracking a request. # e.g. -- Address and opening times of Post Office branches -- if track_thing.info_request.nil? - main_text += "-- " + event.info_request.title + " --\n" + main_text += "-- " + highlight_words(event.info_request.title, @highlight_words, false) + " --\n" end # e.g. Julian Burgess sent a request to Royal Mail Group (15 May 2008) @@ -39,9 +39,7 @@ Or just look at referrers as Julian says Test: In email alerts, show request heading somewhere Add test code for search track emails -Highlight words in them with * and also highling in RSS - and highlight title Check test code coverage again - do we have all models |