diff --git a/module/common/lang/en.php b/module/common/lang/en.php index a3772325d2..763d4877df 100644 --- a/module/common/lang/en.php +++ b/module/common/lang/en.php @@ -106,7 +106,7 @@ $lang->common->common = 'Common Module'; $lang->menu = new stdclass(); $lang->menu->my = 'Dashboard|my|index'; $lang->menu->product = $lang->productCommon . '|product|index|locate=no'; -$lang->menu->project = $lang->projectCommon . '|project|index'; +$lang->menu->project = $lang->projectCommon . '|project|index|locate=no'; $lang->menu->qa = 'QA|qa|index'; $lang->menu->doc = 'Doc|doc|index'; $lang->menu->report = 'Report|report|index'; diff --git a/module/common/lang/zh-cn.php b/module/common/lang/zh-cn.php index b72885ee5b..bc5832a81f 100644 --- a/module/common/lang/zh-cn.php +++ b/module/common/lang/zh-cn.php @@ -111,7 +111,7 @@ $lang->common->common = '公有模块'; $lang->menu = new stdclass(); $lang->menu->my = ' 我的地盘|my|index'; $lang->menu->product = $lang->productCommon . '|product|index|locate=no'; -$lang->menu->project = $lang->projectCommon . '|project|index'; +$lang->menu->project = $lang->projectCommon . '|project|index|locate=no'; $lang->menu->qa = '测试|qa|index'; $lang->menu->doc = '文档|doc|index'; $lang->menu->report = '统计|report|index'; diff --git a/module/common/model.php b/module/common/model.php index 1c02032543..60fe2fb5ee 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -871,7 +871,7 @@ EOD; if(empty($class)) $class = 'btn'; $title = $lang->goback . $lang->backShortcutKey; - echo html::a($backLink, '', '', "id='back' class='{$class}' title={$title}"); + echo html::a($backLink, ' ' . $lang->goback, '', "id='back' class='{$class}' title={$title}"); } /** diff --git a/module/project/css/managemembers.css b/module/project/css/managemembers.css index 67ff54e91e..435908820f 100644 --- a/module/project/css/managemembers.css +++ b/module/project/css/managemembers.css @@ -15,6 +15,7 @@ #dept_chosen .chosen-single{width: 220px;} #project_chosen .chosen-single{width: 220px;} +.radio-inline {line-height:normal;} -.outer .main .table tr > td:first-child {padding-left: 10px;} -.outer .main .table tr > td:last-child {padding-right: 10px;} +#teamForm .table tr > td:first-child {padding-left: 10px;} +#teamForm .table tr > td:last-child {padding-right: 10px;} diff --git a/module/project/lang/en.php b/module/project/lang/en.php index 7289f757b8..8b72c65986 100644 --- a/module/project/lang/en.php +++ b/module/project/lang/en.php @@ -212,6 +212,7 @@ $lang->project->copyFromProject = "Duplicate from {$lang->projectCommon} project->cancelCopy = 'Cancel Duplication'; $lang->project->byPeriod = 'By Time'; $lang->project->byUser = 'ByUser'; +$lang->project->noProject = 'No project. You could '; /* 交互提示。*/ $lang->project->confirmDelete = "Do you want to delete {$lang->projectCommon}[%s]?"; diff --git a/module/project/lang/zh-cn.php b/module/project/lang/zh-cn.php index dfb0b528fd..f139611ddb 100644 --- a/module/project/lang/zh-cn.php +++ b/module/project/lang/zh-cn.php @@ -213,6 +213,7 @@ $lang->project->copyFromProject = "复制自{$lang->projectCommon} %sproject->cancelCopy = '取消复制'; $lang->project->byPeriod = '按时间段'; $lang->project->byUser = '按用户'; +$lang->project->noProject = '暂时没有项目,您现在可以'; /* 交互提示。*/ $lang->project->confirmDelete = "您确定删除{$lang->projectCommon}[%s]吗?"; diff --git a/module/project/view/index.html.php b/module/project/view/index.html.php index 89f572fd1f..e3583c8519 100644 --- a/module/project/view/index.html.php +++ b/module/project/view/index.html.php @@ -10,7 +10,13 @@ */ ?> + +
+

project->noProject;?> " . $lang->project->create, '', "class='btn btn-info'");?>

+
+ fetch('block', 'dashboard', 'module=project');?> +