* 1.added story verify in task view.
* 2.put story spec, verify and file together.
This commit is contained in:
@@ -455,8 +455,8 @@ class task extends control
|
||||
else
|
||||
{
|
||||
$story = $this->story->getById($task->story);
|
||||
$task->storySpec = empty($story) ? '' : $story->spec;
|
||||
$task->storyComments = empty($story) ? array() : $this->task->getStoryComments($task->story);
|
||||
$task->storySpec = empty($story) ? '' : $this->loadModel('file')->setImgSize($story->spec);
|
||||
$task->storyVerify = empty($story) ? '' : $this->loadModel('file')->setImgSize($story->verify);
|
||||
$task->storyFiles = $this->loadModel('file')->getByObject('story', $task->story);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user