新建版本库中去掉新建

This commit is contained in:
huang 2016-10-28 14:29:18 +08:00
parent 68c0999a58
commit c72236b87b
1 changed files with 1 additions and 2 deletions

View File

@ -1,7 +1,6 @@
<div class="pro_new_prompt ml15 mr15 mb10"><p>温馨提示:每个项目只能创建一个版本库</p></div>
<% if @gitlab_repository.nil? %>
<div class=" sy_new_tchbox clear " >
<a href="javascript:void(0);" class=" sy_btn_green mb10">新建版本库</a>
<div class="sy_new_tchbox clear">
<%= labelled_form_for :repository, @repository, :url =>project_repositories_path(@project), :html => {:id => 'repository-form', :method=>"post", :autocomplete => 'off'} do |f| %>
<ul class="pro_newsetting_con mb15">
<li style="display: none">