m.stakeholder.html.php 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <?php
  2. /**
  3. * The task browse mobile view file of execution module of ZenTaoPMS.
  4. *
  5. * @copyright Copyright 2009-2016 禅道软件(青岛)有限公司(ZenTao Software (Qingdao) Co., Ltd. www.cnezsoft.com)
  6. * @license ZPL(http://zpl.pub/page/zplv12.html) or AGPL(https://www.gnu.org/licenses/agpl-3.0.en.html)
  7. * @author Fei Chen <chenfei@cnezsoft.com>
  8. * @package execution
  9. * @version $Id
  10. * @link http://www.zentao.net
  11. */
  12. include "../../common/view/m.header.html.php";
  13. ?>
  14. <section id='page' class='section list-with-pager'>
  15. <?php $refreshUrl = $this->createLink('program', 'stakeholder', "programID=$programID&orderBy=$orderBy&recTotal={$pager->recTotal}&recPerPage={$pager->recPerPage}&pageID={$pager->pageID}");?>
  16. <div class='box' data-page='<?php echo $pager->pageID;?>' data-refresh-url='<?php echo $refreshUrl;?>'>
  17. <table class='table bordered no-margin'>
  18. <thead>
  19. <tr>
  20. <th class='text-center w-80px'> <?php echo $lang->user->realname;?> </th>
  21. <th class='text-center w-80px'> <?php echo $lang->program->stakeholderType;?> </th>
  22. <th class='text-center w-120px'><?php echo $lang->user->role;?> </th>
  23. <th class='text-center w-80px'> <?php echo $lang->user->qq;?> </th>
  24. <th class='text-center w-120px'> <?php echo $lang->user->email;?> </th>
  25. </tr>
  26. </thead>
  27. <?php foreach($stakeholders as $stakeholder):?>
  28. <tr class='text-center'>
  29. <td><?php echo $stakeholder->realname;?></td>
  30. <td class='text-left'><?php echo zget($lang->program->stakeholderTypeList, $stakeholder->type, '');?></td>
  31. <td class='text-left'><?php echo zget($lang->user->roleList, $stakeholder->role, '');?></td>
  32. <td><?php echo $stakeholder->qq;?></td>
  33. <td><?php echo $stakeholder->email;?></td>
  34. </tr>
  35. <?php endforeach;?>
  36. </table>
  37. </div>
  38. <nav class='nav justify pager'>
  39. <?php $pager->show($align = 'justify');?>
  40. </nav>
  41. </section>
  42. <?php include "../../common/view/m.footer.html.php"; ?>