From fbfe908d46cb911f8d5faa0c890d1a512866f761 Mon Sep 17 00:00:00 2001 From: Jasder <2053003901@@qq.com> Date: Thu, 24 Oct 2019 16:31:51 +0800 Subject: [PATCH] ADD ajax request headers --- app/views/repositories/show.html.erb | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/app/views/repositories/show.html.erb b/app/views/repositories/show.html.erb index fccd98ae0..d4372f10d 100644 --- a/app/views/repositories/show.html.erb +++ b/app/views/repositories/show.html.erb @@ -25,7 +25,7 @@ <% else %> <%= link_to "重新分析", quality_analysis_path(:id => @project.id, :repository_id => @repository.identifier, :rev => @rev, :default_branch => @g_default_branch, :type => "2"), :remote => true, :class => "btn_zipdown fl ml10" %> <% end %> - <% if @project.id == 5787 %> + <% if true %> <%= link_to '云端编程', "http://106.75.119.131:8080/dashboard/#/ide/che/trustie_che_demo", :class => "btn_zipdown fl ml10"%> <%= link_to '云端部署', "javascript:void(0)", :class => "btn_zipdown fl ml10", :onclick => "deploy()"%> <% end %> @@ -80,13 +80,19 @@