|
|
|
@ -5,32 +5,33 @@
|
|
|
|
|
<div class="repository_con" style="line-height:1.9;">
|
|
|
|
|
<%= render :partial => 'navigation' %>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
<div class=" repository-url">
|
|
|
|
|
<div class=" repository-url light-well">
|
|
|
|
|
<% if @entries.nil? && authorize_for('repositories', 'browse') %>
|
|
|
|
|
<div class="page-title">
|
|
|
|
|
该版本库还没有上传代码!
|
|
|
|
|
</div>
|
|
|
|
|
<% end %>
|
|
|
|
|
<% if @repository.type.to_s=="Repository::Gitlab" %>
|
|
|
|
|
版本库地址:<%= @repos_url %>
|
|
|
|
|
<% else %>
|
|
|
|
|
版本库地址:<%= h @repository.url %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<!-- added by bai -->
|
|
|
|
|
<div class="fb"><a href="http://<%=Setting.host_name %>/forums/1/memos/1232" class=" c_blue ">点击查看如何提交代码</a></div>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
</div>
|
|
|
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<%# 各类信息入口 %>
|
|
|
|
|
<% if !@repository.nil? %>
|
|
|
|
|
<%= render :partial => 'summary' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
|
|
|
|
|
<% if !@entries.nil? && authorize_for('repositories', 'browse') %>
|
|
|
|
|
<%# 数据统计 %>
|
|
|
|
|
<%= render :partial => 'summary' %>
|
|
|
|
|
<%# end %>
|
|
|
|
|
<%= render :partial => 'dir_list' %>
|
|
|
|
|
<% end %>
|
|
|
|
|
<%= render_properties(@properties) %>
|
|
|
|
|
|
|
|
|
|
<!-- 代码修订 -->
|
|
|
|
|
|
|
|
|
|
<!-- added by bai -->
|
|
|
|
|
<p class="fb mt10"><a href="http://<%=Setting.host_name %>/forums/1/memos/1232" class=" c_blue ">点击查看如何提交代码</a></p>
|
|
|
|
|
<div class="cl"></div>
|
|
|
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
|
<%= stylesheet_link_tag "scm" %>
|
|
|
|
|
<% end %>
|
|
|
|
|