OpenProject is the leading open source project management software.
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
openproject/app/views/my_projects_overviews/blocks/_project_details.html.erb

28 lines
978 B

<%#-- copyright
OpenProject is a project management system.
Copyright (C) 2012-2013 the OpenProject Team
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License version 3.
See doc/COPYRIGHT.rdoc for more details.
++#%>
<h2 class="page-layout-only"><%=l(:label_project_details)%></h2>
<h3><%=l(:label_project_details)%></h3>
<div class="overview project_details">
<ul>
<% unless project.homepage.blank? %><li><%=l(:field_homepage)%>: <%= auto_link(h(project.homepage)) %></li><% end %>
<% if childprojects.any? %>
<li><%=l(:label_subproject_plural)%>:
<%= childprojects.collect{|p| link_to(h(p), project_url(p))}.join(", ").html_safe %></li>
<% end %>
<% project.visible_custom_field_values.each do |custom_value| %>
<% if !custom_value.value.blank? %>
<li><%= h(custom_value.custom_field.name) %>: <%=h show_value(custom_value) %></li>
<% end %>
<% end %>
</ul>
</div>