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-10-08 23:13:21 +04:00
|
|
|
<%= simple_format(auto_link(@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-10-15 13:00:05 +04:00
|
|
|
<li><%= custom_value.custom_field.name%>: <%= 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">
|
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 %>:
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= issue_count = Issue.count(:conditions => ["project_id=? and tracker_id=? and issue_statuses.is_closed=?", @project.id, tracker.id, false], :include => :status) %>
|
|
|
|
<%= lwr(:label_open_issues, issue_count) %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% if authorize_for 'projects', 'add_issue' %>
|
2006-07-29 23:54:22 +04:00
|
|
|
» <%=l(:label_issue_new)%>:
|
2006-07-29 13:32:58 +04:00
|
|
|
<ul>
|
|
|
|
<% @trackers.each do |tracker| %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<li><%= link_to tracker.name, :controller => 'projects', :action => 'add_issue', :id => @project, :tracker_id => tracker %></li>
|
2006-07-29 13:32:58 +04:00
|
|
|
<% end %>
|
|
|
|
</ul>
|
|
|
|
<% end %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<center><small>[ <%= link_to l(:label_issue_view_all), :controller => 'projects', :action => 'list_issues', :id => @project, :set_filter => 1 %> ]</small></center>
|
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-07-09 20:30:01 +04:00
|
|
|
<% for news in @news %>
|
2006-07-30 14:47:02 +04:00
|
|
|
<p><b><%= news.title %></b> <small>(<%= link_to_user news.author %> <%= format_time(news.created_on) %>)</small><br />
|
2006-07-29 13:32:58 +04:00
|
|
|
<%= news.summary %>
|
2006-07-30 14:47:02 +04:00
|
|
|
<small>[<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>]</small></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
<hr />
|
|
|
|
<% end %>
|
2006-07-29 23:54:22 +04:00
|
|
|
<center><small>[ <%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %> ]</small></center>
|
2006-06-28 22:11:03 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|