* finish task#784

This commit is contained in:
areyou123456
2012-05-16 09:31:29 +00:00
parent 01a0442345
commit 91be9bfa0a
6 changed files with 59 additions and 43 deletions
+3
View File
@@ -90,4 +90,7 @@
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<?php include '../../common/view/footer.html.php';?>
+3
View File
@@ -119,4 +119,7 @@
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<?php include '../../common/view/footer.html.php';?>
+2
View File
@@ -18,6 +18,8 @@ $lang->release->browse = "Browse";
$lang->release->confirmDelete = "Are sure to delete this release?";
$lang->release->basicInfo ='Basic Info';
$lang->release->id = 'ID';
$lang->release->product = 'Product';
$lang->release->build = 'Build';
+2
View File
@@ -18,6 +18,8 @@ $lang->release->browse = "浏览发布";
$lang->release->confirmDelete = "您确认删除该release吗?";
$lang->release->basicInfo='基本信息';
$lang->release->id = 'ID';
$lang->release->product = '产品';
$lang->release->build = '版本';
+2
View File
@@ -18,6 +18,8 @@ $lang->release->browse = "瀏覽發佈";
$lang->release->confirmDelete = "您確認刪除該release嗎?";
$lang->release->basicInfo ='基本信息';
$lang->release->id = 'ID';
$lang->release->product = '產品';
$lang->release->build = '版本';
+47 -43
View File
@@ -11,28 +11,28 @@
*/
?>
<?php include '../../common/view/header.html.php';?>
<table class='table-1'>
<table class='cont-rt5'>
<caption><?php echo $lang->release->view;?></caption>
<tr>
<th class='rowhead'><?php echo $lang->release->product;?></th>
<td><?php echo $release->productName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->name;?></th>
<td class='<?php if($release->deleted) echo 'deleted';?>'><?php echo $release->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->build;?></th>
<td><?php echo $release->buildName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->date;?></th>
<td><?php echo $release->date;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->stories;?></th>
<tr valign='top'>
<td>
<table class='table-1 fixed'>
<fieldset>
<legend><?php echo $lang->release->desc;?></legend>
<div class='content'><?php echo $release->desc;?></div>
</fieldset>
<?php include '../../common/view/action.html.php';?>
<div class='a-center f-16px strong'>
<?php
$browseLink = $this->session->releaseList ? $this->session->releaseList : inlink('browse', "productID=$release->product");
if(!$release->deleted)
{
common::printLink('release', 'edit', "releaseID=$release->id", $lang->edit);
common::printLink('release', 'delete', "releaseID=$release->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<table class='table-1 fixed'>
<caption class='caption-t1'><?php echo $lang->release->stories;?></caption>
<tr>
<th class='w-id'><?php echo $lang->idAB;?></th>
<th class='w-pri'><?php echo $lang->priAB;?></th>
@@ -58,12 +58,8 @@
<td colspan="7" class='a-left strong'><?php echo sprintf($lang->release->finishStories, count($stories));?></td>
</tr>
</table>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->bugs;?></th>
<td>
<table class='table-1 fixed'>
<caption class='caption-t1'><?php echo $lang->release->bugs;?></caption>
<tr>
<th class='w-id'> <?php echo $lang->idAB;?></th>
<th><?php echo $lang->bug->title;?></th>
@@ -89,23 +85,31 @@
<td colspan="7" class='a-left strong'><?php echo sprintf($lang->release->resolvedBugs, count($bugs));?></td>
</tr>
</table>
</td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->desc;?></th>
<td class='content'><?php echo $release->desc;?></td>
</td>
<td class="divider"></td>
<td class="side">
<fieldset>
<legend><?php echo $lang->release->basicInfo?></legend>
<table class='table-1 a-left'>
<tr>
<th width='25%' class='a-right'><?php echo $lang->release->product;?></th>
<td><?php echo $release->productName;?></td>
</tr>
</table>
<div class='a-center f-16px strong'>
<?php
$browseLink = $this->session->releaseList ? $this->session->releaseList : inlink('browse', "productID=$release->product");
if(!$release->deleted)
{
common::printLink('release', 'edit', "releaseID=$release->id", $lang->edit);
common::printLink('release', 'delete', "releaseID=$release->id", $lang->delete, 'hiddenwin');
}
echo html::a($browseLink, $lang->goback);
?>
</div>
<?php include '../../common/view/action.html.php';?>
<tr>
<th class='rowhead'><?php echo $lang->release->name;?></th>
<td class='<?php if($release->deleted) echo 'deleted';?>'><?php echo $release->name;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->build;?></th>
<td><?php echo $release->buildName;?></td>
</tr>
<tr>
<th class='rowhead'><?php echo $lang->release->date;?></th>
<td><?php echo $release->date;?></td>
</tr>
</table>
</fieldset>
</td>
</tr>
</table>
<?php include '../../common/view/footer.html.php';?>