GitLab steht wegen Wartungsarbeiten am Montag, den 10. Mai, zwischen 17:00 und 19:00 Uhr nicht zur Verfügung.

Commit 14072169 authored by jplang's avatar jplang

Un-inline conditions.

git-svn-id: https://svn.redmine.org/redmine/trunk@14749 e93f8b46-1217-0410-a6f0-8f06a7374b81
parent d48e87bc
......@@ -40,15 +40,18 @@ module IssuesHelper
end
issue_list(issues) do |issue, level|
group_name = group_count = nil
if query.grouped? && ((group = query.group_by_column.value(issue)) != previous_group || first)
if group.blank? && group != false
group_name = "(#{l(:label_blank_value)})"
else
group_name = column_content(query.group_by_column, issue)
if query.grouped?
group = query.group_by_column.value(issue)
if first || group != previous_group
if group.blank? && group != false
group_name = "(#{l(:label_blank_value)})"
else
group_name = format_object(group)
end
group_name ||= ""
group_count = issue_count_by_group[group]
group_totals = totals_by_group.map {|column, t| total_tag(column, t[group] || 0)}.join(" ").html_safe
end
group_name ||= ""
group_count = issue_count_by_group[group]
group_totals = totals_by_group.map {|column, t| total_tag(column, t[group] || 0)}.join(" ").html_safe
end
yield issue, level, group_name, group_count, group_totals
previous_group, first = group, false
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment