Merge branch 'develop' into 'develop'
我收到的issue导出excel名称修改 See merge request !142
This commit is contained in:
commit
ea104b2941
|
@ -191,7 +191,7 @@ class UsersController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html{render :layout => 'static_base'}
|
||||
format.xls{
|
||||
filename = "我发布的_#{l(:label_issue_list_xls)}.xls"
|
||||
filename = "我发布的#{l(:label_issue_list_xls)}.xls"
|
||||
send_data(issue_list_xls(@excel_issues), :type => 'application/octet-stream', :filename => filename_for_content_disposition(filename))
|
||||
}
|
||||
format.api
|
||||
|
@ -237,7 +237,7 @@ class UsersController < ApplicationController
|
|||
respond_to do |format|
|
||||
format.html{render :layout => 'static_base'}
|
||||
format.xls{
|
||||
filename = "我收到的Issue#{l(:label_issue_list_xls)}.xls"
|
||||
filename = "我收到的#{l(:label_issue_list_xls)}.xls"
|
||||
send_data(issue_list_xls(@excel_issues), :type => 'application/octet-stream', :filename => filename_for_content_disposition(filename))
|
||||
}
|
||||
format.api
|
||||
|
|
Loading…
Reference in New Issue