2006-07-29 23:54:22 +04:00
|
|
|
<h2><%=l(:label_overview)%></h2>
|
2006-06-28 22:11:03 +04:00
|
|
|
|
|
|
|
<div class="splitcontentleft">
|
2006-12-17 17:22:09 +03:00
|
|
|
<%= simple_format(auto_link(h(@project.description))) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<ul>
|
2006-11-12 21:50:30 +03:00
|
|
|
<% unless @project.homepage.empty? %><li><%=l(:field_homepage)%>: <%= auto_link @project.homepage %></li><% end %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<li><%=l(:field_created_on)%>: <%= format_date(@project.created_on) %></li>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% for custom_value in @custom_values %>
|
|
|
|
<% if !custom_value.value.empty? %>
|
2006-12-17 11:10:18 +03:00
|
|
|
<li><%= custom_value.custom_field.name%>: <%=h show_value(custom_value) %></li>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% end %>
|
|
|
|
<% end %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</ul>
|
|
|
|
|
|
|
|
<div class="box">
|
2007-01-02 12:58:07 +03:00
|
|
|
<div class="contextual">
|
|
|
|
<%= render :partial => 'issues/add_shortcut', :locals => {:trackers => @trackers } %>
|
|
|
|
</div>
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%= image_tag "tracker" %> <%=l(:label_tracker_plural)%></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<ul>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% for tracker in @trackers %>
|
2006-06-28 22:11:03 +04:00
|
|
|
<li><%= link_to tracker.name, :controller => 'projects', :action => 'list_issues', :id => @project,
|
|
|
|
:set_filter => 1,
|
2006-07-09 20:30:01 +04:00
|
|
|
"tracker_id" => tracker.id %>:
|
2007-01-06 15:18:29 +03:00
|
|
|
<%= @open_issues_by_tracker[tracker] || 0 %> <%= lwr(:label_open_issues, @open_issues_by_tracker[tracker] || 0) %>
|
|
|
|
<%= l(:label_on) %> <%= @total_issues_by_tracker[tracker] || 0 %></li>
|
2006-06-28 22:11:03 +04:00
|
|
|
<% end %>
|
2007-01-02 12:58:07 +03:00
|
|
|
</ul>
|
2007-01-05 22:10:57 +03:00
|
|
|
<p class="textcenter"><small><%= link_to l(:label_issue_view_all), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 %></small></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="splitcontentright">
|
|
|
|
<div class="box">
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%= image_tag "users" %> <%=l(:label_member_plural)%></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<% for member in @members %>
|
|
|
|
<%= link_to_user member.user %> (<%= member.role.name %>)<br />
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
|
2006-07-09 20:30:01 +04:00
|
|
|
<% if @subprojects %>
|
|
|
|
<div class="box">
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%= image_tag "projects" %> <%=l(:label_subproject_plural)%></h3>
|
2006-07-09 20:30:01 +04:00
|
|
|
<% for subproject in @subprojects %>
|
|
|
|
<%= link_to subproject.name, :action => 'show', :id => subproject %><br />
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
<% end %>
|
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
<div class="box">
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%=l(:label_news_latest)%></h3>
|
2006-12-17 11:10:18 +03:00
|
|
|
<%= render :partial => 'news/news', :collection => @news %>
|
2007-01-05 22:10:57 +03:00
|
|
|
<p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
</div>
|
2007-01-05 22:10:57 +03:00
|
|
|
</div>
|