隐藏项目ZIP下载
This commit is contained in:
parent
59548d0e55
commit
20dc90c93e
|
@ -18,7 +18,7 @@
|
||||||
<div class=" fl clearfix">
|
<div class=" fl clearfix">
|
||||||
<%= render :partial => 'navigation' %>
|
<%= render :partial => 'navigation' %>
|
||||||
</div>
|
</div>
|
||||||
<a href="<%= @zip_path %>" class="btn_zipdown fl ml10" onclick="">ZIP下载</a>
|
<!-- <a href="<%#= @zip_path %>" class="btn_zipdown fl ml10" onclick="">ZIP下载</a>-->
|
||||||
<% if !@entries.blank? && User.current.member_of?(@project) && @project.is_public? %>
|
<% if !@entries.blank? && User.current.member_of?(@project) && @project.is_public? %>
|
||||||
<% if quality_analysis(User.current.try(:login), @repository.id).nil? %>
|
<% if quality_analysis(User.current.try(:login), @repository.id).nil? %>
|
||||||
<%= link_to "质量分析", quality_analysis_path(:id => @project.id, :repository_id => @repository.identifier, :rev => @rev, :default_branch => @g_default_branch, :type => "1"), :remote => true, :class => "btn_zipdown fl ml10" %>
|
<%= link_to "质量分析", quality_analysis_path(:id => @project.id, :repository_id => @repository.identifier, :rev => @rev, :default_branch => @g_default_branch, :type => "1"), :remote => true, :class => "btn_zipdown fl ml10" %>
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
#
|
#
|
||||||
# It's strongly recommended to check this file into your version control system.
|
# It's strongly recommended to check this file into your version control system.
|
||||||
|
|
||||||
ActiveRecord::Schema.define(:version => 20170802012507) do
|
ActiveRecord::Schema.define(:version => 20170808033437) do
|
||||||
|
|
||||||
create_table "activities", :force => true do |t|
|
create_table "activities", :force => true do |t|
|
||||||
t.integer "act_id", :null => false
|
t.integer "act_id", :null => false
|
||||||
|
@ -1969,12 +1969,13 @@ ActiveRecord::Schema.define(:version => 20170802012507) do
|
||||||
t.integer "game_id"
|
t.integer "game_id"
|
||||||
t.text "msg"
|
t.text "msg"
|
||||||
t.text "out_put", :limit => 2147483647
|
t.text "out_put", :limit => 2147483647
|
||||||
t.datetime "created_at", :null => false
|
t.datetime "created_at", :null => false
|
||||||
t.datetime "updated_at", :null => false
|
t.datetime "updated_at", :null => false
|
||||||
t.integer "test_set_position"
|
t.integer "test_set_position"
|
||||||
t.text "actual_output"
|
t.text "actual_output"
|
||||||
t.boolean "result"
|
t.boolean "result"
|
||||||
t.boolean "is_public"
|
t.boolean "is_public"
|
||||||
|
t.integer "query_index", :default => 1
|
||||||
end
|
end
|
||||||
|
|
||||||
create_table "phone_app_versions", :force => true do |t|
|
create_table "phone_app_versions", :force => true do |t|
|
||||||
|
|
Loading…
Reference in New Issue