2015-04-27 16:58:16 +08:00
|
|
|
<%= call_hook(:view_repositories_show_contextual, {:repository => @repository, :project => @project}) %>
|
2015-04-16 05:01:09 +08:00
|
|
|
<div class="project_r_h">
|
2015-10-22 16:03:22 +08:00
|
|
|
<div class="fl"><h2 class="project_h2_repository"><%= render :partial => 'breadcrumbs', :locals => {:path => @path, :kind => 'dir', :revision => @rev} %></h2></div>
|
2015-04-16 05:01:09 +08:00
|
|
|
</div>
|
|
|
|
<div class="repository_con" style="line-height:1.9;">
|
2015-10-22 16:03:22 +08:00
|
|
|
<%= render :partial => 'navigation' %>
|
2015-04-16 05:01:09 +08:00
|
|
|
<div class="cl"></div>
|
2015-10-23 15:37:58 +08:00
|
|
|
<div class=" repository-url">
|
2015-10-22 16:03:22 +08:00
|
|
|
<% if @repository.type.to_s=="Repository::Gitlab" %>
|
2015-10-23 15:37:58 +08:00
|
|
|
版本库地址:<%= @repos_url %>
|
2015-10-22 16:03:22 +08:00
|
|
|
<% else %>
|
2015-10-23 15:37:58 +08:00
|
|
|
版本库地址:<%= h @repository.url %>
|
2015-10-22 16:03:22 +08:00
|
|
|
<% end %>
|
2015-04-27 16:58:16 +08:00
|
|
|
</div>
|
2014-10-28 14:19:13 +08:00
|
|
|
</div>
|
2015-10-22 13:44:35 +08:00
|
|
|
|
|
|
|
<%# 各类信息入口 %>
|
|
|
|
<% if !@repository.nil? %>
|
|
|
|
<%= render :partial => 'summary' %>
|
|
|
|
<% end %>
|
|
|
|
<%# end %>
|
|
|
|
|
2015-06-12 16:48:43 +08:00
|
|
|
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
|
|
|
<%= render :partial => 'dir_list' %>
|
|
|
|
<% end %>
|
|
|
|
<%= render_properties(@properties) %>
|
|
|
|
|
|
|
|
<!-- 代码修订 -->
|
2013-08-01 10:33:49 +08:00
|
|
|
|
2015-06-12 16:48:43 +08:00
|
|
|
<!-- added by bai -->
|
2015-10-08 14:23:32 +08:00
|
|
|
<p class="fb mt10"><a href="http://<%=Setting.host_name %>/forums/1/memos/1232" class=" c_blue ">点击查看如何提交代码</a></p>
|
2015-06-12 16:48:43 +08:00
|
|
|
<div class="cl"></div>
|
2013-08-03 22:18:30 +08:00
|
|
|
|
2013-08-01 10:33:49 +08:00
|
|
|
<% content_for :header_tags do %>
|
2015-04-27 16:58:16 +08:00
|
|
|
<%= stylesheet_link_tag "scm" %>
|
2013-08-01 10:33:49 +08:00
|
|
|
<% end %>
|
|
|
|
|
|
|
|
<% html_title(l(:label_repository)) -%>
|