diff --git a/module/project/css/kanban.css b/module/project/css/kanban.css index 2d401dc57b..0abab98e7e 100644 --- a/module/project/css/kanban.css +++ b/module/project/css/kanban.css @@ -9,13 +9,11 @@ .board-wait, .board-closed {vertical-align: top !important;} .board-doing {padding: 0px !important; vertical-align: top !important;} -.board-doing div:not(:last-child) .board-doing-project, -.board-doing div:not(:last-child) .board-doing-execution {padding: 10px; border-bottom: 2px solid #fff;} +.board-doing .board-doing-project:not(:last-child), +.board-doing .board-doing-execution:not(:last-child) {padding: 10px; border-bottom: 2px solid #fff;} -.board-doing div:last-child .board-doing-project, -.board-doing div:last-child .board-doing-execution {padding: 10px;} - -.board-doing-project {border-right: 2px solid #fff} +.board-doing .board-doing-project:last-child, +.board-doing .board-doing-execution:last-child {padding: 10px;} .board-doing-project .table-row .table-col:last-child, .c-progress {width: 30px;} .board-doing-execution .table-row .table-col:last-child, .c-progress {width: 30px;} diff --git a/module/project/view/kanban.html.php b/module/project/view/kanban.html.php index 41c23c047c..71fd7871a0 100644 --- a/module/project/view/kanban.html.php +++ b/module/project/view/kanban.html.php @@ -43,63 +43,67 @@ - + -
-
-
> -
-
- createLink('project', 'index', "projectID=$project->id"), $project->name, '', "title='{$project->name}'"); - } - else - { - echo "{$project->name}"; - } - ?> -
-
-
-
-
hours->progress);?>
-
+
+
> +
+
+ createLink('project', 'index', "projectID=$project->id"), $project->name, '', "title='{$project->name}'"); + } + else + { + echo "{$project->name}"; + } + ?> +
+
+
+
+
hours->progress);?>
-
- id])):?> - id];?> -
> -
-
- createLink('execution', 'task', "executionID=$execution->id"), $execution->name, '', "title='{$execution->name}'"); - } - else - { - echo "{$execution->name}"; - } - ?> -
-
-
-
-
hours->progress);?>
-
+
+ + + + + + +
+ id])):?> + id];?> +
> +
+
+ createLink('execution', 'task', "executionID=$execution->id"), $execution->name, '', "title='{$execution->name}'"); + } + else + { + echo "{$execution->name}"; + } + ?> +
+
+
+
+
hours->progress);?>
-
+
@@ -138,6 +142,12 @@
- + + diff --git a/module/story/control.php b/module/story/control.php index ee6c31c31a..feb50ea82c 100644 --- a/module/story/control.php +++ b/module/story/control.php @@ -48,6 +48,8 @@ class story extends control */ public function create($productID = 0, $branch = 0, $moduleID = 0, $storyID = 0, $objectID = 0, $bugID = 0, $planID = 0, $todoID = 0, $extra = '', $type = 'story') { + if($productID == 0) $this->locate($this->createLink('product', 'create')); + $this->story->replaceURLang($type); if($this->app->tab == 'product') {