项目 版本 和 版本库 标签改动
This commit is contained in:
parent
10bd7c2855
commit
9621c35e8b
|
@ -325,16 +325,15 @@ class ProjectsController < ApplicationController
|
||||||
@wiki ||= @project.wiki
|
@wiki ||= @project.wiki
|
||||||
@select_tab = params[:tab]
|
@select_tab = params[:tab]
|
||||||
|
|
||||||
#版本库逻辑,由于没有new操作了,所以跳到项目配置就new一个版本库
|
# 处理从新建版本库返回来的错误信息
|
||||||
if !params[:repository_error_message].to_s.blank?
|
if !params[:repository_error_message].to_s.blank?
|
||||||
html = ""
|
html = ""
|
||||||
errors = params[:repository_error_message].flatten
|
errors = params[:repository_error_message].flatten
|
||||||
errors.each do |error|
|
errors.each do |error|
|
||||||
###by xianbo
|
# 版本库路径为空的错误信息不予提示
|
||||||
if(error!=l(:label_repository_path_not_null))
|
if(error!=l(:label_repository_path_not_null))
|
||||||
html << error << ";"
|
html << error << ";"
|
||||||
end
|
end
|
||||||
###xianbo
|
|
||||||
end
|
end
|
||||||
if params[:repository] == "pswd_is_null"
|
if params[:repository] == "pswd_is_null"
|
||||||
html << l(:label_password_not_null)<< ";"
|
html << l(:label_password_not_null)<< ";"
|
||||||
|
|
Loading…
Reference in New Issue