mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-14 00:39:57 +09:00
issue status 변경 추가
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4861 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
f132c7db7d
commit
c3cb299b6f
7 changed files with 64 additions and 10 deletions
|
|
@ -69,9 +69,21 @@
|
|||
|
||||
function dispIssuetrackerTimeline() {
|
||||
if(!$this->grant->access) return $this->dispIssuetrackerMessage('msg_not_permitted');
|
||||
$oController = &getController('issuetracker');
|
||||
$oController->syncChangeset();
|
||||
$oModel = &getModel('issuetracker');
|
||||
$changesets = $oModel->getChangesets($this->module_info->module_srl);
|
||||
Context::set('changesets', $changesets);
|
||||
$issues = array();
|
||||
foreach($changesets as $changeset)
|
||||
{
|
||||
if(!$changeset->target_srl) continue;
|
||||
if(!$issues[$changeset->target_srl])
|
||||
{
|
||||
$issues[$changeset->target_srl] = $oModel->getIssue($changeset->target_srl);
|
||||
}
|
||||
}
|
||||
Context::set('issues', $issues);
|
||||
$this->setTemplateFile('timeline');
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue