#2072测试版--项目--问题跟踪:成功新建问题后建议提示信息为“问题已创建”就好
This commit is contained in:
parent
0d8786f7dd
commit
4ca5687b3b
|
@ -162,7 +162,8 @@ class IssuesController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html {
|
||||
render_attachment_warning_if_needed(@issue)
|
||||
flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("#{@issue.subject}", issue_path(@issue), :title => @issue.subject))
|
||||
flash[:notice] = l(:label_successful_create)
|
||||
#flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("#{@issue.subject}", issue_path(@issue), :title => @issue.subject))
|
||||
#flash[:notice] = l(:notice_issue_successful_create, :id => view_context.link_to("##{@issue.id}", issue_path(@issue), :title => @issue.subject))
|
||||
if params[:continue]
|
||||
attrs = {:tracker_id => @issue.tracker, :parent_issue_id => @issue.parent_issue_id}.reject {|k,v| v.nil?}
|
||||
|
|
|
@ -136,6 +136,7 @@ en:
|
|||
# 项目托管平台
|
||||
#
|
||||
# 问题跟踪
|
||||
label_successful_create: Successfully created
|
||||
#
|
||||
|
||||
|
||||
|
|
|
@ -140,6 +140,7 @@ zh:
|
|||
# 项目托管平台
|
||||
#
|
||||
# 问题跟踪
|
||||
label_successful_create: 创建成功
|
||||
#
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue