* Modify the variables of the my module.
This commit is contained in:
@@ -154,7 +154,7 @@ class my extends control
|
||||
$this->view->stories = $this->loadModel('story')->getUserStories($this->app->user->account, $type, $sort, $pager, 'requirement');
|
||||
$this->view->users = $this->user->getPairs('noletter');
|
||||
$this->view->type = $type;
|
||||
$this->view->programs = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->projects = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->recTotal = $recTotal;
|
||||
$this->view->recPerPage = $recPerPage;
|
||||
$this->view->pageID = $pageID;
|
||||
@@ -194,7 +194,7 @@ class my extends control
|
||||
$this->view->position[] = $this->lang->my->story;
|
||||
$this->view->stories = $this->loadModel('story')->getUserStories($this->app->user->account, $type, $sort, $pager, $storyType);
|
||||
$this->view->users = $this->user->getPairs('noletter');
|
||||
$this->view->programs = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->projects = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->type = $type;
|
||||
$this->view->storyType = $storyType;
|
||||
$this->view->recTotal = $recTotal;
|
||||
@@ -246,7 +246,7 @@ class my extends control
|
||||
$this->view->recPerPage = $recPerPage;
|
||||
$this->view->pageID = $pageID;
|
||||
$this->view->orderBy = $orderBy;
|
||||
$this->view->programs = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->projects = $this->loadModel('program')->getPRJPairs();
|
||||
$this->view->users = $this->loadModel('user')->getPairs('noletter');
|
||||
$this->view->pager = $pager;
|
||||
|
||||
|
||||
@@ -72,7 +72,7 @@
|
||||
<?php printf('%03d', $task->id);?>
|
||||
</td>
|
||||
<td class="c-pri"><span class='label-pri <?php echo 'label-pri-' . $task->pri;?>' title='<?php echo zget($lang->task->priList, $task->pri);?>'><?php echo zget($lang->task->priList, $task->pri);?></span></td>
|
||||
<td class='c-project'><?php echo zget($programs, $task->PRJ, '');?></td>
|
||||
<td class='c-project'><?php echo zget($projects, $task->PRJ, '');?></td>
|
||||
<td class='c-project' title="<?php echo $task->projectName;?>"><?php echo html::a($this->createLink('project', 'task', "projectid=$task->project", '', '', $task->PRJ), $task->projectName);?></td>
|
||||
<td class='c-name' title='<?php echo $task->name?>'>
|
||||
<?php if(!empty($task->team)) echo '<span class="label label-badge label-light">' . $this->lang->task->multipleAB . '</span> ';?>
|
||||
|
||||
Reference in New Issue
Block a user