Normalize case of the due date title across the code

This commit is contained in:
Simon Holywell 2012-03-08 16:50:40 +00:00
parent 214d035d12
commit e0da21cbf8
5 changed files with 5 additions and 4 deletions

View File

@ -114,7 +114,7 @@ class IDF_Form_IssueCreate extends Pluf_Form
)); ));
$this->fields['due_dtime'] = new Pluf_Form_Field_Datetime( $this->fields['due_dtime'] = new Pluf_Form_Field_Datetime(
array('required' => false, array('required' => false,
'label' => __('Due Date'), 'label' => __('Due date'),
'initial' => '', 'initial' => '',
'widget_attrs' => array('size' => 15,), 'widget_attrs' => array('size' => 15,),
)); ));

View File

@ -105,7 +105,7 @@ class IDF_Form_IssueUpdate extends IDF_Form_IssueCreate
)); ));
$this->fields['due_dtime'] = new Pluf_Form_Field_Datetime( $this->fields['due_dtime'] = new Pluf_Form_Field_Datetime(
array('required' => false, array('required' => false,
'label' => __('Due Date'), 'label' => __('Due date'),
'initial' => $this->issue->due_dtime, 'initial' => $this->issue->due_dtime,
'widget_attrs' => array('size' => 15,), 'widget_attrs' => array('size' => 15,),
)); ));

View File

@ -95,6 +95,7 @@ class IDF_Issue extends Pluf_Model
array( array(
'type' => 'Pluf_DB_Field_Datetime', 'type' => 'Pluf_DB_Field_Datetime',
'blank' => true, 'blank' => true,
'is_null' => true,
'verbose' => __('due date'), 'verbose' => __('due date'),
), ),
'status' => 'status' =>

View File

@ -154,7 +154,7 @@ class IDF_IssueComment extends Pluf_Model
case 'ow': case 'ow':
$out .= __('Owner:'); break; $out .= __('Owner:'); break;
case 'du': case 'du':
$out .= __('Due Date:'); break; $out .= __('Due date:'); break;
case 'lb': case 'lb':
$out .= __('Labels:'); break; $out .= __('Labels:'); break;
case 'rel': case 'rel':

View File

@ -40,7 +40,7 @@
{if $i> 0 and $c.changedIssue()} {if $i> 0 and $c.changedIssue()}
<div class="issue-changes"> <div class="issue-changes">
{foreach $c.changes as $w => $v} {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 == 'du'}{trans 'Due Date:'}{/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'} {if $w == 'lb' or $w == 'rel'}
{foreach $v as $t => $ls} {foreach $v as $t => $ls}
{foreach $ls as $l} {foreach $ls as $l}