summaryrefslogtreecommitdiffstats
path: root/app/helpers/queries_helper.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-05 07:58:07 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2017-03-05 07:58:07 +0000
commit91d10c63f02c6116c6215d66fa8ff7b17cddf527 (patch)
treebb4e7a6d49af67ea985a9fca25b890f1bef5931e /app/helpers/queries_helper.rb
parent06c6de06e4d47531ebc6afef63b925ca80552339 (diff)
downloadredmine-91d10c63f02c6116c6215d66fa8ff7b17cddf527.tar.gz
redmine-91d10c63f02c6116c6215d66fa8ff7b17cddf527.zip
Show Last Comment in Issue list (#1474).
Patch by Marius BALTEANU. git-svn-id: http://svn.redmine.org/redmine/trunk@16367 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/queries_helper.rb')
-rw-r--r--app/helpers/queries_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/queries_helper.rb b/app/helpers/queries_helper.rb
index 458fb70fd..c356ca0d4 100644
--- a/app/helpers/queries_helper.rb
+++ b/app/helpers/queries_helper.rb
@@ -185,6 +185,8 @@ module QueriesHelper
value ? (value.visible? ? link_to_issue(value, :subject => false) : "##{value.id}") : ''
when :description
item.description? ? content_tag('div', textilizable(item, :description), :class => "wiki") : ''
+ when :last_notes
+ item.last_notes.present? ? content_tag('div', textilizable(item, :last_notes), :class => "wiki") : ''
when :done_ratio
progress_bar(value)
when :relations