Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Fix colspan for expanded row in project list

Wieland Lindenthalddb456ce2e16
diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb
index de9cf8eeb6e..23f93b61140 100644
--- a/app/views/projects/index.html.erb
+++ b/app/views/projects/index.html.erb
@@ -151,7 +151,7 @@ See docs/COPYRIGHT.rdoc for more details.
<% unless project.description.blank? %>
<tr class="project-description <%= project_css_classes(project) %> <%= level > 0 ? "idnt idnt-#{level}" : nil %> <%= params[:expand] == 'all' ? '-expanded' : '' %>">
<td></td>
- <td colspan="<%= @custom_fields.size + (User.current.admin? ? 6 : 3) %>" class="project--hierarchy">
+ <td colspan="<%= @custom_fields.size + (User.current.admin? ? 7 : 4) %>" class="project--hierarchy">
<div class="description-container">
<span class="wiki"><%= format_text(short_project_description(project), project: project) %></span>
</div>