| 1 |
<%= render :partial => "ac_project_header", :locals => { :tab => PRJ_TAB_SUMMARY, :project => @project, :pagetitle => @title } %> |
| 2 |
|
| 3 |
<%= div_formattedtext_open %> |
| 4 |
|
| 5 |
<h1 class='pagetitle'><%= @project.title %></h1> |
| 6 |
|
| 7 |
<p><%= @project.summary %> <%= link_to "[more]", project_wiki_path(@project.slug, @project.wiki_slug), :class => "small" %></p> |
| 8 |
|
| 9 |
<% unless @critical_tickets.empty? %> |
| 10 |
<h4>Recent Tickets</h4> |
| 11 |
<hr /> |
| 12 |
<ul> |
| 13 |
<% for ticket in @critical_tickets %> |
| 14 |
<li> |
| 15 |
<%= link_to ticket.slug, project_ticket_path(@project.slug, ticket.slug) %> by <strong><%= ticket.fullname %></strong> <span class='small_grey'>(<%= time_ago_in_words(ticket.created_at) %> ago)</span><br /> |
| 16 |
<span class='red'><%= ticket.summary %></span></li> |
| 17 |
<% end %> |
| 18 |
<% for ticket in @tickets %> |
| 19 |
<li> |
| 20 |
<%= link_to ticket.slug, project_ticket_path(@project.slug, ticket.slug) %> by <strong><%= ticket.fullname %></strong> <span class='small_grey'>(<%= time_ago_in_words(ticket.created_at) %> ago)</span><br /> |
| 21 |
<%= ticket.summary %></li> |
| 22 |
<% end %> |
| 23 |
</ul> |
| 24 |
<%= link_to "[more]", project_tickets_path(@project.slug), :class => "small" %><br /> |
| 25 |
<% end %> |
| 26 |
|
| 27 |
<% unless @commits.empty? %> |
| 28 |
<h4>Last Commits</h4> |
| 29 |
<hr /> |
| 30 |
<%= render :partial => "logs/ac_log" -%> |
| 31 |
<%= link_to "[more]", project_repository_path(@project, @repository), :class => "small" %><br /> |
| 32 |
<% end %> |
| 33 |
|
| 34 |
<% unless @messages.empty? %> |
| 35 |
<h4>Recent Messages</h4> |
| 36 |
<hr /> |
| 37 |
<%= render :partial => "messages/ac_list_messages", :locals => { :show_name => true } %> |
| 38 |
<%= link_to "[more]", project_members_path(@project), :class => "small" %><br /> |
| 39 |
<% end %> |
| 40 |
|
| 41 |
<%= div_formattedtext_close %> |
| 42 |
|
| 43 |
<%= render :partial => "ac_project_footer" %> |