<% #-- # 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 = t("views.repos.show_page_title", :repo => @repository.name, :title => @owner.title) -%> <%= breadcrumbs_from(@root) -%> <%= render_if_ready(@repository) do -%>
<%= render :partial => "repositories/overview", :locals => {:repository => @repository, :verbose => true} -%>
<% if !@repository.has_commits? && committers(@repository).include?(current_user) -%> <%= render "getting_started" -%> <% end -%>

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

<%= render :partial => "events/events", :locals => { :events => @events, :container_css_class => "w-750" } -%> <% end -%> <%= content_for :sidebar do -%> <%= render :partial => "committers_sidebar" -%> <% unless @commits.blank? -%>

<%= t("views.logs.branches") %>:

    <% @repository.git.branches.each do |branch| -%>
  • <%= link_to h(branch.name), project_repository_log_path(@repository.project, @repository, ensplat_path(branch.name)) -%>
  • <% end -%>
<% end -%> <%= cache([@project, @repository, :clone_list], :expires_in => 5.minutes) do -%> <%= render "clone_list" -%> <% end -%> <% end -%>