<% #-- # Copyright (C) 2012 Gitorious AS # Copyright (C) 2009 Nokia Corporation and/or its subsidiary(-ies) # Copyright (C) 2009 Fabio Akita # Copyright (C) 2008 David A. Cuadrado # Copyright (C) 2008 Tor Arne Vestbø # Copyright (C) 2007, 2008 Johan Sørensen # # This program is free software: you can redistribute it and/or modify # it under the terms of the GNU Affero General Public License as published by # the Free Software Foundation, either version 3 of the License, or # (at your option) any later version. # # This program is distributed in the hope that it will be useful, # but WITHOUT ANY WARRANTY; without even the implied warranty of # MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the # GNU Affero General Public License for more details. # # You should have received a copy of the GNU Affero General Public License # along with this program. If not, see . #++ %> <% @page_title = @project.title -%> <%= breadcrumbs_from(@root) -%>

<%=h @project.title -%> <% if @project.private? -%> <%= image_tag("silk/lock.png", :class => "private_access") -%> <% end -%>

<%= paragraphs_with_more(render_markdown(@project.description, :auto_link), @project.id) -%>
<% @mainlines[0...(@big_repos)].each do |repo| -%> <%= render :partial => "repositories/overview", :locals => {:repository => repo} -%> <% end -%> <% if @mainlines.length > @big_repos %>

More repositories

<% @mainlines[(@big_repos)..-1].each do |repo| -%> <%= render :partial => "repositories/overview_tight", :locals => {:repository => repo} -%> <% end -%> <% end %>

<%= t("views.site.dashboard.activities") %> <%= feed_icon @atom_auto_discovery_url %>

<%= render :partial => "events/events", :locals => { :events => @events, :container_css_class => "w-750" } -%>
<%= content_for :sidebar do -%> <%= render :partial => "meta" %> <%= benchmark("Repositories (sidebar)") do -%>

<%= link_to t("views.projects.repository_clones"), project_repositories_path(@project) -%>

<% if show_clone_list_search?(@group_clones, @user_clones) -%> <%= render :partial => "repositories/clone_list_search", :locals => { :path => project_repositories_path(@project, :format => 'json') } -%> <% end -%> <%= render :partial => "repositories" -%> <% end -%> <% end -%>