|
|
|
@ -31,27 +31,31 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
|
|
|
|
|
<% breadcrumb_paths(l(:label_overview)) %> |
|
|
|
|
|
|
|
|
|
<div class="grid-block medium-up-2"> |
|
|
|
|
<div class="grid-content"> |
|
|
|
|
<div class="wiki" ng-non-bindable> |
|
|
|
|
<%= format_text @project.description %> |
|
|
|
|
</div> |
|
|
|
|
<ul> |
|
|
|
|
<% if @subprojects.any? %> |
|
|
|
|
<li> |
|
|
|
|
<%= l(:label_subproject_plural) %>: |
|
|
|
|
<%=raw @subprojects.map { |project| link_to(project.name, project) }.to_sentence %> |
|
|
|
|
</li> |
|
|
|
|
<% end %> |
|
|
|
|
<% @project.visible_custom_field_values.each do |custom_value| %> |
|
|
|
|
<% if custom_value.value.present? %> |
|
|
|
|
<li><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
</ul> |
|
|
|
|
<div class="wiki" ng-non-bindable> |
|
|
|
|
<%= format_text @project.description %> |
|
|
|
|
</div> |
|
|
|
|
<ul> |
|
|
|
|
<% if @subprojects.any? %> |
|
|
|
|
<li> |
|
|
|
|
<%= l(:label_subproject_plural) %>: |
|
|
|
|
<%=raw @subprojects.map { |project| link_to(project.name, project) }.to_sentence %> |
|
|
|
|
</li> |
|
|
|
|
<% end %> |
|
|
|
|
<% @project.visible_custom_field_values.each do |custom_value| %> |
|
|
|
|
<% if custom_value.value.present? %> |
|
|
|
|
<li><%= custom_value.custom_field.name %>: <%= show_value(custom_value) %></li> |
|
|
|
|
<% end %> |
|
|
|
|
<% end %> |
|
|
|
|
</ul> |
|
|
|
|
|
|
|
|
|
<div class="grid-block medium-up-2 project-overview"> |
|
|
|
|
<div class="grid-content widget-boxes"> |
|
|
|
|
<% if User.current.allowed_to?(:view_work_packages, @project) %> |
|
|
|
|
<div class="issues content-box"> |
|
|
|
|
<h3><%=l(:label_work_package_tracking)%></h3> |
|
|
|
|
<div class="issues widget-box"> |
|
|
|
|
<h3 class="widget-box--header"> |
|
|
|
|
<span class="icon-context icon-tracker"></span> |
|
|
|
|
<span class="widget-box--header-title"><%=l(:label_work_package_tracking)%></span> |
|
|
|
|
</h3> |
|
|
|
|
<ul> |
|
|
|
|
<% for type in @types %> |
|
|
|
|
<li><%= link_to (type.is_standard) ? l(:default_type) : h(type.name), |
|
|
|
@ -72,12 +76,15 @@ See doc/COPYRIGHT.rdoc for more details. |
|
|
|
|
<%= call_hook(:view_projects_show_left, project: @project) %> |
|
|
|
|
</div> |
|
|
|
|
|
|
|
|
|
<div class="grid-content"> |
|
|
|
|
<div class="grid-content widget-boxes"> |
|
|
|
|
<%= render partial: 'members_box' %> |
|
|
|
|
|
|
|
|
|
<% if @news.any? && authorize_for('news', 'index') %> |
|
|
|
|
<div class="news content-box"> |
|
|
|
|
<h3><%=l(:label_news_latest)%></h3> |
|
|
|
|
<div class="news widget-box"> |
|
|
|
|
<h3 class="widget-box--header"> |
|
|
|
|
<span class="icon-context icon-news"></span> |
|
|
|
|
<span class="widget-box--header-title"><%=l(:label_news_latest)%></span> |
|
|
|
|
</h3> |
|
|
|
|
<%= render partial: 'news/news', collection: @news %> |
|
|
|
|
<p><%= link_to l(:label_news_view_all), {controller: '/news', action: 'index', project_id: @project}, class: 'button -highlight' %></p> |
|
|
|
|
</div> |
|
|
|
|