+ add keywords fields to story.
This commit is contained in:
@@ -4,6 +4,7 @@ $app->loadLang('story');
|
||||
$config->product->search['module'] = 'story';
|
||||
$config->product->search['fields']['id'] = $lang->story->id;
|
||||
$config->product->search['fields']['title'] = $lang->story->title;
|
||||
$config->product->search['fields']['keywords'] = $lang->story->keywords;
|
||||
$config->product->search['fields']['pri'] = $lang->story->pri;
|
||||
$config->product->search['fields']['plan'] = $lang->story->plan;
|
||||
$config->product->search['fields']['assignedTo'] = $lang->story->assignedTo;
|
||||
@@ -16,6 +17,7 @@ $config->product->search['fields']['stage'] = $lang->story->stage;
|
||||
$config->product->search['fields']['closedReason'] = $lang->story->closedReason;
|
||||
|
||||
$config->product->search['params']['title'] = array('operator' => 'include', 'control' => 'input', 'values' => '');
|
||||
$config->product->search['params']['keywords'] = array('operator' => 'include', 'control' => 'input', 'values' => '');
|
||||
$config->product->search['params']['pri'] = array('operator' => '=', 'control' => 'select', 'values' => $lang->story->priList);
|
||||
$config->product->search['params']['plan'] = array('operator' => '=', 'control' => 'select', 'values' => '');
|
||||
$config->product->search['params']['assignedTo'] = array('operator' => '=', 'control' => 'select', 'values' => 'users');
|
||||
|
||||
@@ -70,6 +70,7 @@ $lang->story->childStories = '细分需求';
|
||||
$lang->story->duplicateStory = '重复需求';
|
||||
$lang->story->reviewResult = '评审结果';
|
||||
$lang->story->preVersion = '之前版本';
|
||||
$lang->story->keywords = '关键词';
|
||||
|
||||
$lang->story->statusList[''] = '';
|
||||
$lang->story->statusList['draft'] = '草稿';
|
||||
|
||||
@@ -59,6 +59,10 @@
|
||||
<th class='rowhead'><?php echo $lang->story->spec;?></th>
|
||||
<td><?php echo html::textarea('spec', '', "rows='8' class='text-1'");?><br /><?php echo $lang->story->specTemplate;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><nobr><?php echo $lang->story->keywords;?></nobr></th>
|
||||
<td><?php echo html::input('keywords', '', 'class="text-1"');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th class='rowhead'><nobr><?php echo $lang->story->mailto;?></nobr></th>
|
||||
<td><?php echo html::input('mailto', '', 'class="text-1"');?></td>
|
||||
|
||||
@@ -84,6 +84,10 @@
|
||||
<td class='rowhead'><?php echo $lang->story->estimate;?></td>
|
||||
<td><?php echo html::input('estimate', $story->estimate, 'class=text-1');?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->story->keywords;?></td>
|
||||
<td><?php echo html::input('keywords', $story->keywords, 'class=text-1');?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
||||
@@ -106,6 +106,10 @@
|
||||
<td class='rowhead'><?php echo $lang->story->estimate;?></td>
|
||||
<td><?php echo $story->estimate;?></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class='rowhead'><?php echo $lang->story->keywords;?></td>
|
||||
<td><?php echo $story->keywords;?></td>
|
||||
</tr>
|
||||
</table>
|
||||
</fieldset>
|
||||
<fieldset>
|
||||
|
||||
Reference in New Issue
Block a user