forked from easysoft/zentaopms
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
wangyidong
committed
May 27, 2015
1 parent
c57df91
commit 7fed460
Showing
2 changed files
with
58 additions
and
58 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,58 +1,58 @@ | ||
<?php | ||
/** | ||
* The browse view file of release module of ZenTaoPMS. | ||
* | ||
<?php | ||
/** | ||
* The browse view file of release module of ZenTaoPMS. | ||
* | ||
* @copyright Copyright 2009-2015 青岛易软天创网络科技有限公司(QingDao Nature Easy Soft Network Technology Co,LTD, www.cnezsoft.com) | ||
* @license ZPL (http://zpl.pub/page/zplv11.html) | ||
* @author Chunsheng Wang <[email protected]> | ||
* @package release | ||
* @version $Id: browse.html.php 4129 2013-01-18 01:58:14Z wwccss $ | ||
* @link http://www.zentao.net | ||
*/ | ||
?> | ||
<?php include '../../common/view/header.html.php';?> | ||
<?php include '../../common/view/tablesorter.html.php';?> | ||
<?php js::set('confirmDelete', $lang->release->confirmDelete)?> | ||
<div> | ||
<div id='titlebar'> | ||
<div class='heading'><i class='icon-tags'></i> <?php echo $lang->release->browse;?> </div> | ||
<div class='actions'> | ||
<?php common::printIcon('release', 'create', "product=$product->id");?> | ||
</div> | ||
</div> | ||
<table class='table tablesorter' id='releaseList'> | ||
<thead> | ||
<tr class='colhead'> | ||
<th class='w-id'><?php echo $lang->release->id;?></th> | ||
<th><?php echo $lang->release->name;?></th> | ||
<th><?php echo $lang->release->build;?></th> | ||
<th class='w-100px'><?php echo $lang->release->date;?></th> | ||
<th class='w-100px'><?php echo $lang->actions;?></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach($releases as $release):?> | ||
<tr> | ||
<td class='text-center'><?php echo $release->id;?></td> | ||
<td><?php echo html::a(inlink('view', "release=$release->id"), $release->name);?></td> | ||
<td><?php echo $release->buildName;?></td> | ||
<td class='text-center'><?php echo $release->date;?></td> | ||
<td class='text-center'> | ||
<?php | ||
common::printIcon('release', 'linkStory', "releaseID=$release->id", '', 'list', 'link'); | ||
common::printIcon('release', 'linkBug', "releaseID=$release->id", '', 'list', 'bug'); | ||
common::printIcon('release', 'edit', "release=$release->id", '', 'list'); | ||
if(common::hasPriv('release', 'delete')) | ||
{ | ||
$deleteURL = $this->createLink('release', 'delete', "releaseID=$release->id&confirm=yes"); | ||
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"releaseList\",confirmDelete)", '<i class="icon-remove"></i>', '', "class='btn-icon' title='{$lang->release->delete}'"); | ||
} | ||
?> | ||
</td> | ||
</tr> | ||
<?php endforeach;?> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<?php include '../../common/view/footer.html.php';?> | ||
* @author Chunsheng Wang <[email protected]> | ||
* @package release | ||
* @version $Id: browse.html.php 4129 2013-01-18 01:58:14Z wwccss $ | ||
* @link http://www.zentao.net | ||
*/ | ||
?> | ||
<?php include '../../common/view/header.html.php';?> | ||
<?php include '../../common/view/tablesorter.html.php';?> | ||
<?php js::set('confirmDelete', $lang->release->confirmDelete)?> | ||
<div> | ||
<div id='titlebar'> | ||
<div class='heading'><i class='icon-tags'></i> <?php echo $lang->release->browse;?> </div> | ||
<div class='actions'> | ||
<?php common::printIcon('release', 'create', "product=$product->id");?> | ||
</div> | ||
</div> | ||
<table class='table tablesorter' id='releaseList'> | ||
<thead> | ||
<tr class='colhead'> | ||
<th class='w-id'><?php echo $lang->release->id;?></th> | ||
<th><?php echo $lang->release->name;?></th> | ||
<th><?php echo $lang->release->build;?></th> | ||
<th class='w-100px'><?php echo $lang->release->date;?></th> | ||
<th class='w-100px'><?php echo $lang->actions;?></th> | ||
</tr> | ||
</thead> | ||
<tbody> | ||
<?php foreach($releases as $release):?> | ||
<tr> | ||
<td class='text-center'><?php echo $release->id;?></td> | ||
<td><?php echo html::a(inlink('view', "release=$release->id"), $release->name);?></td> | ||
<td><?php echo $release->buildName;?></td> | ||
<td class='text-center'><?php echo $release->date;?></td> | ||
<td class='text-center'> | ||
<?php | ||
common::printIcon('release', 'view', "releaseID=$release->id&type=story&link=true", '', 'list', 'link'); | ||
common::printIcon('release', 'view', "releaseID=$release->id&type=bug&link=true", '', 'list', 'bug'); | ||
common::printIcon('release', 'edit', "release=$release->id", '', 'list'); | ||
if(common::hasPriv('release', 'delete')) | ||
{ | ||
$deleteURL = $this->createLink('release', 'delete', "releaseID=$release->id&confirm=yes"); | ||
echo html::a("javascript:ajaxDelete(\"$deleteURL\",\"releaseList\",confirmDelete)", '<i class="icon-remove"></i>', '', "class='btn-icon' title='{$lang->release->delete}'"); | ||
} | ||
?> | ||
</td> | ||
</tr> | ||
<?php endforeach;?> | ||
</tbody> | ||
</table> | ||
</div> | ||
|
||
<?php include '../../common/view/footer.html.php';?> |