mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-09 12:02:24 +09:00
17465811 : fixed - displaying line-thorugh decoration for the closed issues
git-svn-id: http://xe-core.googlecode.com/svn/sandbox@4894 201d5d3c-b55e-5fd7-737f-ddc643e51545
This commit is contained in:
parent
1b57094ae0
commit
a0e2ce36df
3 changed files with 8 additions and 1 deletions
|
|
@ -10,6 +10,7 @@
|
||||||
var $status = null;
|
var $status = null;
|
||||||
var $component = null;
|
var $component = null;
|
||||||
var $occured_version = null;
|
var $occured_version = null;
|
||||||
|
var $closed_status = array('invalid', 'resolve');
|
||||||
|
|
||||||
function issueItem($document_srl = 0) {
|
function issueItem($document_srl = 0) {
|
||||||
parent::documentItem($document_srl);
|
parent::documentItem($document_srl);
|
||||||
|
|
@ -140,5 +141,9 @@
|
||||||
}
|
}
|
||||||
return $content;
|
return $content;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function isClosed() {
|
||||||
|
return in_array($this->status, $this->closed_status);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
?>
|
?>
|
||||||
|
|
|
||||||
|
|
@ -278,3 +278,4 @@ dd span.source { color:#4F86B0; }
|
||||||
dd span.target { color:#4F86B0; font-weight:bold; }
|
dd span.target { color:#4F86B0; font-weight:bold; }
|
||||||
dd span.key { color:#888888; font-weight:bold; }
|
dd span.key { color:#888888; font-weight:bold; }
|
||||||
dt a { color:#373737; text-decoration: none; }
|
dt a { color:#373737; text-decoration: none; }
|
||||||
|
dt span.closed { text-decoration: line-through; }
|
||||||
|
|
|
||||||
|
|
@ -14,7 +14,8 @@
|
||||||
<dt class="changeset">
|
<dt class="changeset">
|
||||||
<span class="time">{zdate($changeset->date,"H:i")}</span>
|
<span class="time">{zdate($changeset->date,"H:i")}</span>
|
||||||
<!--@if($changeset->type == "i")-->
|
<!--@if($changeset->type == "i")-->
|
||||||
<a href="{getUrl('','document_srl',$changeset->target_srl)}">Issue <em>#{$changeset->target_srl}</em></a> ({$issues[$changeset->target_srl]->getTitleText(30)}) by <span class="author">{$changeset->author}</span>
|
{@ $oIssue = $issues[$changeset->target_srl]; }
|
||||||
|
<a href="{getUrl('','document_srl',$changeset->target_srl)}">Issue <em><!--@if($oIssue->isClosed())--><span class="closed"><!--@end-->#{$changeset->target_srl}<!--@if($oIssue->isClosed())--></span><!--@end--></em></a> ({$issues[$changeset->target_srl]->getTitleText(30)}) by <span class="author">{$changeset->author}</span>
|
||||||
<!--@else-->
|
<!--@else-->
|
||||||
<a href="{getUrl('act','dispIssuetrackerViewSource','erev',$changeset->revision,'type','log')}">Changeset <em>[{$changeset->revision}]</em></a> by <span class="author">{$changeset->author}</span>
|
<a href="{getUrl('act','dispIssuetrackerViewSource','erev',$changeset->revision,'type','log')}">Changeset <em>[{$changeset->revision}]</em></a> by <span class="author">{$changeset->author}</span>
|
||||||
<!--@end-->
|
<!--@end-->
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue