<%= textilizable @project.description %>
</div>
<% end %>
- <% if @project.homepage.present? || @subprojects.any? || @project.visible_custom_field_values.any?(&:present?) %>
+ <% if @project.homepage.present? || @project.visible_custom_field_values.any?(&:present?) %>
<ul>
<% unless @project.homepage.blank? %>
<li><span class="label"><%=l(:field_homepage)%>:</span> <%= link_to_if uri_with_safe_scheme?(@project.homepage), @project.homepage, @project.homepage %></li>
<% end %>
- <% if @subprojects.any? %>
- <li><span class="label"><%=l(:label_subproject_plural)%>:</span>
- <%= @subprojects.collect{|p| link_to p, project_path(p)}.join(", ").html_safe %></li>
- <% end %>
<% render_custom_field_values(@project) do |custom_field, formatted| %>
<li><span class="label"><%= custom_field.name %>:</span> <%= formatted %></li>
<% end %>
<p><%= link_to l(:label_news_view_all), project_news_index_path(@project) %></p>
</div>
<% end %>
+
+ <% if @subprojects.any? %>
+ <div class="projects box">
+ <h3><%=l(:label_subproject_plural)%></h3>
+ <%= @subprojects.collect{|p| link_to p, project_path(p)}.join(", ").html_safe %>
+ </div>
+ <% end %>
+
<%= call_hook(:view_projects_show_right, :project => @project) %>
</div>