| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126 |
- <?php
- /**
- * The mobile view file of execution module of ZenTaoPMS.
- *
- * @copyright Copyright 2009-2016 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
- * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
- * @author Fei Chen <chenfei@cnezsoft.com>
- * @package execution
- * @version $Id: index.html.php 3830 2016-05-18 09:34:17Z liugang $
- * @link http://www.zentao.net
- */
- include "../../common/view/m.header.html.php";
- ?>
- <div id='page' class='list-with-actions'>
- <div class='heading gray'>
- <div class='title'> <?php echo $lang->execution->view;?></div>
- <nav class='nav'><a class='btn primary' href='javascript:history.go(-1);'><?php echo $lang->goback;?></a></nav>
- </div>
- <div class='section no-margin'>
- <div class='outline'>
- <nav class="nav" data-display="" data-selector="a" data-show-single="true" data-active-class="active" data-animate="false">
- <a class="active" data-target="#legendDesc"><?php echo $lang->execution->desc?></a>
- <a data-target="#legendBasicInfo"><?php echo $lang->execution->basicInfo?></a>
- </nav>
- <div>
- <div class="display in" id="legendDesc">
- <div class='heading gray'>
- <div class='title'><strong><?php echo $lang->execution->desc?></strong></div>
- </div>
- <div class='article'>
- <?php echo $execution->desc;?>
- <div>
- <label class='strong'><?php echo $lang->execution->lblStats?></label>
- <?php printf($lang->execution->stats, $execution->totalHours, $execution->totalEstimate, $execution->totalConsumed, $execution->totalLeft, 10)?>
- </div>
- </div>
- <?php include '../../common/view/m.action.html.php';?>
- </div>
- <div class="display hidden" id="legendBasicInfo">
- <table class='table bordered table-detail'>
- <tr>
- <td class='w-100px'><?php echo $lang->execution->name;?></td>
- <td><?php echo $execution->name;?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->code;?></td>
- <td><?php echo $execution->code;?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->beginAndEnd;?></td>
- <td><?php echo $execution->begin . ' ~ ' . $execution->end;?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->days;?></td>
- <td><?php echo $execution->days;?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->type;?></td>
- <td><?php echo $lang->execution->typeList[$execution->type]; ?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->status;?></td>
- <?php if(isset($execution->delay)):?>
- <td class='delay'><?php echo $lang->execution->delayed;?></td>
- <?php else:?>
- <td class='<?php echo $execution->status;?>'><?php $lang->show($lang->execution->statusList, $execution->status);?></td>
- <?php endif;?>
- </tr>
- <tr>
- <td><?php echo $lang->execution->PM;?></td>
- <td><?php echo zget($users, $execution->PM, $execution->PM);?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->PO;?></td>
- <td><?php echo zget($users, $execution->PO, $execution->PO);?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->QD;?></td>
- <td><?php echo zget($users, $execution->QD, $execution->QD);?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->RD;?></td>
- <td><?php echo zget($users, $execution->RD, $execution->RD);?></td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->products;?></td>
- <td>
- <?php
- foreach($products as $productID => $product)
- {
- if($product->type !== 'normal')
- {
- echo $product->name . '/' . $branchGroups[$productID][$product->branch] . "|";
- }
- else
- {
- echo $product->name . "|";
- }
- }
- ?>
- </td>
- </tr>
- <tr>
- <td><?php echo $lang->execution->acl;?></td>
- <td><?php echo $lang->execution->aclList[$execution->acl];?></td>
- </tr>
- <?php if($execution->acl == 'custom'):?>
- <tr>
- <td><?php echo $lang->execution->whitelist;?></td>
- <td>
- <?php
- $whitelist = explode(',', $execution->whitelist);
- foreach($whitelist as $groupID) if(isset($groups[$groupID])) echo $groups[$groupID] . ' ';
- ?>
- </td>
- </tr>
- <?php endif;?>
- </table>
- </div>
- </div>
- </div>
- </form>
- </div>
- <?php include "../../common/view/m.footer.html.php"; ?>
|