48 lines
2.0 KiB
Plaintext
48 lines
2.0 KiB
Plaintext
<div class="wrap-big">
|
|
<div class="repository_con" style="line-height:1.9;">
|
|
<ul class="clearfix pro-top-info mb10">
|
|
<li style="width: 459px;"><i class="icon-time mr5 c_grey02 f16 fb"></i>
|
|
<%=link_to "#{choise_commit_count(@changesets_all_count, @g_project.commit_count.to_i)}",
|
|
{:action => 'commits', :path => to_path_param(@path), :id => @shixun, :repository_id => @repository.identifier_param,
|
|
:rev => @rev, :page => 1 ,:commit_count =>"#{@changesets_all_count}"}, :class => "linkBlue fb" %> 提交
|
|
</li>
|
|
<li style="width: 459px;"><i class="icon-sitemap mr5 c_grey02 f16 fb"></i>
|
|
<a class="linkBlue fb "><%= @branchs.count %></a>分支
|
|
</li>
|
|
</ul>
|
|
<div class=" clearfix mb5">
|
|
<div class=" fl clearfix">
|
|
<%= render :partial => 'shixun_navigation' %>
|
|
</div>
|
|
<% if !@entries.blank? %>
|
|
<a href="<%= @zip_path %>" class="btn_zipdown fl ml10" onclick="">ZIP下载</a>
|
|
<% end %>
|
|
|
|
<div class="fr">
|
|
<label class="pro-fenzhi-label fl">克隆网址</label>
|
|
<input type="text" id="copy_rep_content" class="pro-fenzhi-input fl" value="<%= @repos_url.to_s.lstrip %>"/>
|
|
<a href="javascript:void(0);" alt="点击复制版本库地址" onclick="jsCopy()" title="点击复制版本库地址" class="fl pro-fenzhi-a">
|
|
<i class="icon-copy"></i>
|
|
</a>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="cl"></div>
|
|
<%= render :partial => 'latest_commit' %>
|
|
<div class="cl"></div>
|
|
|
|
<% if !@entries.blank? && authorize_for('repositories', 'browse') %>
|
|
<%= render :partial => 'shixun_dir_list' %>
|
|
<% else %>
|
|
<%= render :partial => "projects/no_data" %>
|
|
<% end %>
|
|
|
|
<% memo = Memo.where(:id => 1232).first %>
|
|
<% unless memo.nil? %>
|
|
<a href="<%= Setting.protocol + "://" %><%=Setting.host_name %>/forums/1/memos/1232" class="linkBlue2" target="_blank">如何提交代码</a>
|
|
<% end %>
|
|
</div>
|
|
</div>
|
|
|
|
<% html_title(l(:label_repository)) -%>
|