diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index e7616a020..b385dff1f 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -22,12 +22,12 @@ <% else %> <%= render :partial => 'navigation' %>
克隆网址:
- +
ZIP
<%# 针对公开项目:用户必须创建了项目,否则用户无法同步 %> <% if User.current.id != @project.user_id %> -
<%= link_to "".html_safe+"Fork", {:controller => 'repositories', :action => 'forked'}, :class=>"vl_btn"%> +
<%= link_to "".html_safe+"Fork", {:controller => 'repositories', :action => 'forked'}, :class=>"vl_btn", :confirm=>"确认要fork该项目吗?" %> <%= @project.forked_count.to_i %>
<% end %>