Help with comments view in redmine_issue_history_tabs 0.0.3
Added by Peter Drábik almost 10 years ago
Hello, I have Redmine 2.3.1 with redmine_issue_history_tabs 0.0.3
Comments that I enter when updating tasks simultaneously with further modification tasks (eg changes solver, state) is not displayed in the Comments tab in the task details at the bottom. These comments are only displayed in the tab All.
Can anybody fix it?
RE: Help with comments view in redmine_issue_history_tabs 0.0.3 - Added by Jan Niggemann (redmine.org team member) almost 10 years ago
Wouldn't this better be placed under "Plugins"?
RE: Help with comments view in redmine_issue_history_tabs 0.0.3 - Added by Alfredo Pedraza about 9 years ago
I've fixed this issue: (I've only tested it with version 2.4.3)
Please update the "/plugins/redmine_issue_history_tabs/app/views/issues/_history.html.erb" file with the attached file, and restart the Redmine server to apply the changes.
If anyone could upload this code to the repository, it would be really great because I don't know how to do it.
I've only changed two lines:
This one: <% if selected_tab == 'history_all' || journal.css_classes == 'journal has-notes'%> for this one: <% if selected_tab == 'history_all' || journal.css_classes.include?('has-notes')%>
This one: <% if journal.details.any? %> for this one: <% if journal.details.any? && selected_tab == 'history_all' %>
|_history.html.erb (1.83 KB) _history.html.erb|