diff --git a/module/task/view/lineareffort.html.php b/module/task/view/lineareffort.html.php index 0f7abd4032..caff269195 100644 --- a/module/task/view/lineareffort.html.php +++ b/module/task/view/lineareffort.html.php @@ -21,92 +21,94 @@ foreach($efforts as $effort) if($app->user->account == $account) $myOrders[$order] = $order; } ?> - -
- -
-
- -
- - +
+ +
+ +
+
+ +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +
task->date;?>task->recordedBy;?>comment;?>task->consumed;?>task->left;?>actions;?>
date;?>account);?>work;?>consumed . ' ' . $lang->execution->workHourUnit;?>left . ' ' . $lang->execution->workHourUnit;?> + task->canOperateEffort($task, $effort); + common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'editEstimate' : 'edit', "effortID=$effort->id", '', 'list', 'edit', '', 'showinonlybody', true, $canOperateEffort ? '' : 'disabled'); + common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'deleteEstimate' : 'delete', "effortID=$effort->id", '', 'list', 'trash', 'hiddenwin', 'showinonlybody', false, ($canOperateEffort and $effort->left > 0) ? '' : 'disabled'); + ?> +
+
- - - - - - - - - - - - - - - - - - - - - - - -
task->date;?>task->recordedBy;?>comment;?>task->consumed;?>task->left;?>actions;?>
date;?>account);?>work;?>consumed . ' ' . $lang->execution->workHourUnit;?>left . ' ' . $lang->execution->workHourUnit;?> - task->canOperateEffort($task, $effort); - common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'editEstimate' : 'edit', "effortID=$effort->id", '', 'list', 'edit', '', 'showinonlybody', true, $canOperateEffort ? '' : 'disabled'); - common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'deleteEstimate' : 'delete', "effortID=$effort->id", '', 'list', 'trash', 'hiddenwin', 'showinonlybody', false, ($canOperateEffort and $effort->left > 0) ? '' : 'disabled'); - ?> -
- -
-
- - $accounts):?> -
- - +
+ + $accounts):?> +
+ + +
+ + + + + + + + + + + + + + + + + + + + + + + +
task->date;?>task->recordedBy;?>comment;?>task->consumed;?>task->left;?>actions;?>
date;?>account);?>work;?>consumed . ' ' . $lang->execution->workHourUnit;?>left . ' ' . $lang->execution->workHourUnit;?> + task->canOperateEffort($task, $effort); + common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'editEstimate' : 'edit', "effortID=$effort->id", '', 'list', 'edit', '', 'showinonlybody', true, $canOperateEffort ? '' : 'disabled'); + common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'deleteEstimate' : 'delete', "effortID=$effort->id", '', 'list', 'trash', 'hiddenwin', 'showinonlybody', false, ($canOperateEffort and $effort->left > 0) ? '' : 'disabled'); + ?> +
+ +
- - - - - - - - - - - - - - - - - - - - - - - -
task->date;?>task->recordedBy;?>comment;?>task->consumed;?>task->left;?>actions;?>
date;?>account);?>work;?>consumed . ' ' . $lang->execution->workHourUnit;?>left . ' ' . $lang->execution->workHourUnit;?> - task->canOperateEffort($task, $effort); - common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'editEstimate' : 'edit', "effortID=$effort->id", '', 'list', 'edit', '', 'showinonlybody', true, $canOperateEffort ? '' : 'disabled'); - common::printIcon($this->config->edition == 'open' ? 'task' : 'effort', $this->config->edition == 'open' ? 'deleteEstimate' : 'delete', "effortID=$effort->id", '', 'list', 'trash', 'hiddenwin', 'showinonlybody', false, ($canOperateEffort and $effort->left > 0) ? '' : 'disabled'); - ?> -
- -
+
-