summaryrefslogtreecommitdiffstats
path: root/app/views/issues
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/views/issues
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/views/issues')
-rw-r--r--app/views/issues/_list.html.erb7
-rw-r--r--app/views/issues/index.html.erb1
2 files changed, 7 insertions, 1 deletions
diff --git a/app/views/issues/_list.html.erb b/app/views/issues/_list.html.erb
index 7e34fca24..3ae5e7023 100644
--- a/app/views/issues/_list.html.erb
+++ b/app/views/issues/_list.html.erb
@@ -33,7 +33,12 @@
<% @query.block_columns.each do |column|
if (text = column_content(column, issue)) && text.present? -%>
<tr class="<%= current_cycle %>">
- <td colspan="<%= @query.inline_columns.size + 1 %>" class="<%= column.css_classes %>"><%= text %></td>
+ <td colspan="<%= @query.inline_columns.size + 1 %>" class="<%= column.css_classes %>">
+ <% if query.block_columns.count > 1 %>
+ <span><%= column.caption %></span>
+ <% end %>
+ <%= text %>
+ </td>
</tr>
<% end -%>
<% end -%>
diff --git a/app/views/issues/index.html.erb b/app/views/issues/index.html.erb
index 3d456aad1..80210814e 100644
--- a/app/views/issues/index.html.erb
+++ b/app/views/issues/index.html.erb
@@ -37,6 +37,7 @@
</p>
<p>
<label><%= check_box_tag 'c[]', 'description', @query.has_column?(:description) %> <%= l(:field_description) %></label>
+ <label><%= check_box_tag 'c[]', 'last_notes', @query.has_column?(:last_notes) %> <%= l(:label_last_notes) %></label>
</p>
<% if @issue_count > Setting.issues_export_limit.to_i %>
<p class="icon icon-warning">