Indefero

Indefero Commit Details


Date:2012-03-05 16:34:30 (12 years 9 months ago)
Author:Simon Holywell
Branch:develop
Commit:c2d61083a72316a2c026c6715292fa68ad7803a9
Parents: f8a1d26b28bef08fd1806e8acedab3480aa8593e
Message:Fix the due date display

Changes:

File differences

src/IDF/Form/IssueUpdate.php
272272
273273
274274
275
276
277
275278
276279
277280
......
391394
392395
393396
394
395397
396398
397399
......
441443
442444
443445
444
446
445447
446448
447449
or ((!is_null($owner) and !is_null($this->issue->get_owner())) and $owner->id != $this->issue->get_owner()->id)) {
return $this->cleaned_data;
}
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {
return $this->cleaned_data;
}
$tags = array();
for ($i=1;$i<7;$i++) {
if (strlen($this->cleaned_data['label'.$i]) > 0) {
or ((!is_null($owner) and !is_null($this->issue->get_owner())) and $owner->id != $this->issue->get_owner()->id)) {
$changes['ow'] = (is_null($owner)) ? '---' : $owner->login;
}
$due_dtime = $this->cleaned_data['due_dtime'];
if (trim($this->issue->due_dtime) != trim($this->cleaned_data['due_dtime'])) {
$changes['du'] = trim($this->cleaned_data['due_dtime']);
}
$this->issue->summary = trim($this->cleaned_data['summary']);
$this->issue->status = $status;
$this->issue->owner = $owner;
$this->issue->due_dtime = $due_dtime;
$this->issue->due_dtime = $this->cleaned_data['due_dtime'];
}
// Create the comment
$comment = new IDF_IssueComment();
src/IDF/IssueComment.php
153153
154154
155155
156
157
156158
157159
158160
$out .= __('Status:'); break;
case 'ow':
$out .= __('Owner:'); break;
case 'du':
$out .= __('Due Date:'); break;
case 'lb':
$out .= __('Labels:'); break;
case 'rel':
src/IDF/templates/idf/issues/view.html
4040
4141
4242
43
43
4444
4545
4646
{if $i> 0 and $c.changedIssue()}
<div class="issue-changes">
{foreach $c.changes as $w => $v}
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}{if $w == 'rel'}{trans 'Relations:'}{/if}</strong>
<strong>{if $w == 'su'}{trans 'Summary:'}{/if}{if $w == 'st'}{trans 'Status:'}{/if}{if $w == 'ow'}{trans 'Owner:'}{/if}{if $w == 'du'}{trans 'Due Date:'}{/if}{if $w == 'lb'}{trans 'Labels:'}{/if}{if $w == 'rel'}{trans 'Relations:'}{/if}</strong>
{if $w == 'lb' or $w == 'rel'}
{foreach $v as $t => $ls}
{foreach $ls as $l}

Archive Download the corresponding diff file

Page rendered in 0.08671s using 13 queries.