* Modify title wrap.

This commit is contained in:
caoyanyi
2022-11-15 13:34:32 +08:00
parent 5145b98f24
commit d021ee883e
@@ -17,17 +17,17 @@ include '../../common/view/header.lite.html.php';
<div class="left-content col-md-8">
<table class="menu-title">
<?php if($objectType == 'story'):?>
<tr><th class='text-left'><?php echo $lang->release->storyTitle;?>: </th><td class="text"><?php echo $object->title; ?></td></tr>
<tr><th class='text-left'><?php echo $lang->story->legendSpec;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->spec; ?></div></td></tr>
<tr><th class='text-left'><?php echo $lang->story->verify;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->verify; ?></div></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->release->storyTitle;?>: </th><td class="text"><?php echo $object->title; ?></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->story->legendSpec;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->spec; ?></div></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->story->verify;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->verify; ?></div></td></tr>
<?php elseif($objectType == 'task'):?>
<tr><th class='text-left'><?php echo $lang->task->name;?>: </th><td class="text"><?php echo $object->name; ?></td></tr>
<tr><th class='text-left'><?php echo $lang->task->desc;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->desc; ?></div></td></tr>
<tr><th class='text-left'><?php echo $lang->task->story;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->storyTitle; ?></div></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->task->name;?>: </th><td class="text"><?php echo $object->name; ?></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->task->desc;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->desc; ?></div></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->task->story;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->storyTitle; ?></div></td></tr>
<?php elseif($objectType == 'bug'):?>
<tr><th class='text-left'><?php echo $lang->bug->title;?>: </th><td class="text"><?php echo $object->title; ?></td></tr>
<tr><th class='text-left'><?php echo $lang->bug->type;?>: </th><td class="text"><?php echo zget($lang->bug->typeList, $object->type); ?></td></tr>
<tr><th class='text-left'><?php echo $lang->bug->steps;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->steps; ?></div></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->bug->title;?>: </th><td class="text"><?php echo $object->title; ?></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->bug->type;?>: </th><td class="text"><?php echo zget($lang->bug->typeList, $object->type); ?></td></tr>
<tr><th class='text-left nobr'><?php echo $lang->bug->steps;?>: </th><td class="text"><div class="detail-content article-content"><?php echo $object->steps; ?></div></td></tr>
<?php endif;?>
</table>
</div>