#1087 项目--配置--版本:新建版本跳转问题及相关显示问题 名字过长时提交返回失败信息,第二次正确填写名称提交成功,但页面跳转错误问题:原因:提交成功后他用的是返回上一个页面或默认页面,第二次提交返回到上一个页面依然是新建版本的页面,修改为提交成功则指定跳到项目配置的版本配置页面。两个换行问题,添加换行的css属性

This commit is contained in:
z9hang 2014-09-04 15:32:31 +08:00
parent 36329200b7
commit a3aa2b0c2b
3 changed files with 4 additions and 3 deletions

View File

@ -107,7 +107,7 @@ class VersionsController < ApplicationController
respond_to do |format|
format.html do
flash[:notice] = l(:notice_successful_create)
redirect_back_or_default settings_project_path(@project, :tab => 'versions')
redirect_to settings_project_path(@project, :tab => 'versions')
end
format.js
format.api do

View File

@ -1350,7 +1350,7 @@ tr.message.locked td.subject { background: url(../images/locked.png) no-repeat 0
tr.message.sticky td.subject { background: url(../images/bullet_go.png) no-repeat 0 1px; font-weight: bold; }
tr.version.closed, tr.version.closed a { color: #999; }
tr.version td.name { padding-left: 20px; }
tr.version td.name { padding-left: 20px;word-break: break-all; }
tr.version.shared td.name { background: url(../images/link.png) no-repeat 0% 70%; }
tr.version td.date, tr.version td.status, tr.version td.sharing { text-align: center; white-space:nowrap; }

View File

@ -689,7 +689,8 @@ table.list tbody td,table.list tbody tr td,table.list tbody tr td.checkbox
{
border-bottom:solid 1px #ddd;
font-size:11px;
padding:4px 10px 4px 3px
padding:4px 10px 4px 3px;
word-break: break-all;
}
table.list thead th