* adjust view style for view method of task module.

This commit is contained in:
chenfeiCF
2016-03-15 10:58:04 +08:00
parent 9b339ac01f
commit 9de63a3b15
3 changed files with 8 additions and 16 deletions

View File

@@ -38,7 +38,6 @@ $lang->task->project = $lang->projectCommon;
$lang->task->module = 'Module';
$lang->task->story = 'Story';
$lang->task->storySpec = 'Story desc';
$lang->task->storyFiles = 'Story Files';
$lang->task->storyVerify = 'Story Verify';
$lang->task->name = 'Name';
$lang->task->type = 'Type';

View File

@@ -38,7 +38,6 @@ $lang->task->project = '所属' . $lang->projectCommon;
$lang->task->module = '所属模块';
$lang->task->story = '相关需求';
$lang->task->storySpec = '需求描述';
$lang->task->storyFiles = '需求附件';
$lang->task->storyVerify = '验收标准';
$lang->task->name = '任务名称';
$lang->task->type = '任务类型';

View File

@@ -71,7 +71,6 @@
<legend><?php echo $lang->task->legendDesc;?></legend>
<div class='article-content'><?php echo $task->desc;?></div>
</fieldset>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php if($task->fromBug != 0):?>
<fieldset>
<legend><?php echo $lang->bug->steps;?></legend>
@@ -79,21 +78,16 @@
</fieldset>
<?php else:?>
<fieldset>
<legend><?php echo $lang->task->story;?></legend>
<fieldset>
<legend><?php echo $lang->task->storySpec;?></legend>
<div class='article-content'><?php echo $task->storySpec;?></div>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->storyVerify;?></legend>
<div class='article-content'><?php echo $task->storyVerify;?></div>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->storyFiles;?></legend>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->storyFiles, 'fieldset' => 'false'));?>
</fieldset>
<legend><?php echo $lang->task->storySpec;?></legend>
<div class='article-content'><?php echo $task->storySpec;?></div>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->storyFiles, 'fieldset' => 'false'));?>
</fieldset>
<fieldset>
<legend><?php echo $lang->task->storyVerify;?></legend>
<div class='article-content'><?php echo $task->storyVerify;?></div>
</fieldset>
<?php endif;?>
<?php echo $this->fetch('file', 'printFiles', array('files' => $task->files, 'fieldset' => 'true'));?>
<?php include '../../common/view/action.html.php';?>
<div class='actions'> <?php if(!$task->deleted) echo $actionLinks;?></div>
<fieldset id='commentBox' class='hide'>