issue_filter.max_results_reached=Only the first {0} issues matching the search criteria have been retrieved. Add some additional criteria to get fewer results to be able to sort this list.
issue_filter.widget.max_results_reached=Only the first {0} issues matching the search criteria have been retrieved.
issue_filter.no_result=No matching issues found.
+issue_filter.no_result.help=Status of the related issues may have changed since the last analysis.
issue_filter.save_filter=Save Filter
issue_filter.edit_filter=Edit Filter
issue_filter.copy_filter=Copy Filter
<%
else
%>
- <p style="padding: 5px;"><%= message('issue_filter.no_result') -%></p>
+ <p class="notes" style="padding: 5px;"><%= message('issue_filter.no_result') -%></p>
<%
end
%>
<div class="issues-content">
- <%= render :partial => 'operations_ajax' -%>
- <%= render :partial => 'list' -%>
+ <%
+ if @issues_result.issues && !@issues_result.issues.empty?
+ %>
+ <%= render :partial => 'operations_ajax' -%>
+ <%= render :partial => 'list' -%>
+ <% else %>
+ <%= render :partial => 'shared/no_issues' -%>
+ <% end %>
</div>
:expanded => @expanded, \
:display_violations => @display_violations, \
:display_issues => @display_issues, \
+ :has_global_issues => @global_issues && @global_issues.size>0, \
:resource => @resource, \
:snapshot => @snapshot, \
:review_screens_by_vid => @review_screens_by_vid, \
--- /dev/null
+<div style="margin-bottom: auto;" class="notes">
+ <div style="float: left;"><%= message('issue_filter.no_result') -%></div>
+ <div style="cursor: help;"><%= image_tag 'help.png', :title => h(message('issue_filter.no_result.help')) -%></div>
+</div>
\ No newline at end of file
</table>
<% if filtered && !has_displayed_lines %>
- <p style="padding: 10px"><%= message('no_lines_match_your_filter_criteria') -%></p>
+ <% if display_issues && !has_global_issues %>
+ <%= render :partial => 'shared/no_issues' -%>
+ <% elsif display_coverage %>
+ <p style="padding: 10px"><%= message('no_lines_match_your_filter_criteria') -%></p>
+ <% end %>
<% end %>