Patch #22291 » link_category_in_issue_page.patch
app/views/issues/show.html.erb | ||
---|---|---|
42 | 42 |
rows.left l(:field_assigned_to), avatar(@issue.assigned_to, :size => "14").to_s.html_safe + (@issue.assigned_to ? link_to_user(@issue.assigned_to) : "-"), :class => 'assigned-to' |
43 | 43 |
end |
44 | 44 |
unless @issue.disabled_core_fields.include?('category_id') || (@issue.category.nil? && @issue.project.issue_categories.none?) |
45 |
rows.left l(:field_category), (@issue.category ? @issue.category.name : "-"), :class => 'category'
|
|
45 |
rows.left l(:field_category), (@issue.category ? (link_to(@issue.category.name, project_issues_path(@issue.project, :status_id => 'o', :category_id => @issue.category.id, :set_filter => 1, :subproject_id => "!*"))) : "-"), :class => 'category'
|
|
46 | 46 |
end |
47 | 47 |
unless @issue.disabled_core_fields.include?('fixed_version_id') || (@issue.fixed_version.nil? && @issue.assignable_versions.none?) |
48 | 48 |
rows.left l(:field_fixed_version), (@issue.fixed_version ? link_to_version(@issue.fixed_version) : "-"), :class => 'fixed-version' |