review.html.php 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566
  1. <?php include $app->getModuleRoot() . 'common/view/header.html.php';?>
  2. <?php include $app->getModuleRoot() . 'common/view/datepicker.html.php';?>
  3. <?php include $app->getModuleRoot() . 'common/view/kindeditor.html.php';?>
  4. <div id='mainContent' class='main-content'>
  5. <div class='center-block'>
  6. <div class='main-header'>
  7. <h2>
  8. <span class='label label-id'><?php echo $charter->id;?></span>
  9. <?php echo isonlybody() ? ('<span title="' . $charter->name . '">' . $charter->name . '</span>') : html::a($this->createLink('charter', 'view', 'charter=' . $charter->id), $charter->title);?>
  10. </h2>
  11. </div>
  12. <form method='post' target='hiddenwin'>
  13. <table class='table table-form'>
  14. <tr>
  15. <?php $disabled = empty($charter->reviewedResult) ? '' : 'disabled';?>
  16. <?php if(!$disabled) $disabled = empty($launchedCharter) ? '' : 'disabled';?>
  17. <th class='w-100px'><?php echo $lang->charter->review;?></th>
  18. <td class='w-p100-f required'><?php echo html::select('reviewedResult', array('') + $lang->charter->reviewResultList, $charter->reviewedResult, "class='form-control chosen $disabled' $disabled");?></td>
  19. <td><span class='roadmapConflict'><?php if($launchedCharter and $launchedCharter->id != $charter->id and $charter->status == 'wait') echo sprintf($this->lang->charter->roadmapConflict, $launchedCharter->id, $launchedCharter->name);?><span></td>
  20. </tr>
  21. <tr>
  22. <th><?php echo $lang->charter->reviewer;?></th>
  23. <td class='required'><?php echo html::select('reviewedBy[]', $users, $charter->reviewedBy, "class='form-control picker-select' multiple");?></td>
  24. <td>
  25. <div style="padding-left:10px">
  26. <div class='checkbox-primary'>
  27. <input id='check' name='check' value='1' type='checkbox' <?php echo $charter->check ? 'checked' : '';?>/>
  28. <label for='createBuild' title="{lang->charter->meetingMinutes}"><?php echo $lang->charter->meetingMinutes;?></label>
  29. </div>
  30. </div>
  31. </td>
  32. </tr>
  33. <!--<tr><td colspan='2' id='ipmt'><?php echo $lang->charter->IPMT;?></td></tr>-->
  34. <tr id="meetingBox" class="hidden">
  35. <th><?php echo $lang->charter->meetingDate;?></th>
  36. <td>
  37. <?php echo html::input('meetingDate', $charter->meetingDate ? $charter->meetingDate : helper::today(), "class='form-control form-date'");?>
  38. </td>
  39. <td></td>
  40. </tr>
  41. <tr id="meetingBox" class="hidden">
  42. <th><?php echo $lang->charter->meetingLocation;?></th>
  43. <td>
  44. <?php echo html::input('meetingLocation', $charter->meetingLocation, "class='form-control'")?>
  45. </td>
  46. <td></td>
  47. </tr>
  48. <tr id="meetingBox" class="hidden">
  49. <th><?php echo $lang->charter->meetingMinutes;?></th>
  50. <td colspan="2">
  51. <?php echo html::textarea('meetingMinutes', $charter->meetingMinutes, "rows='6' class='form-control kindeditor' hidefocus='true'");?>
  52. </td>
  53. </tr>
  54. </div>
  55. <tr>
  56. <td class='form-actions text-center' colspan='3'>
  57. <?php echo html::submitButton($lang->save, "", 'btn btn-primary btn-wide needReview');?>
  58. </td>
  59. </tr>
  60. </table>
  61. </form>
  62. <hr class='small' />
  63. <div class='main'><?php include $app->getModuleRoot() . 'common/view/action.html.php';?></div>
  64. </div>
  65. </div>
  66. <?php include $app->getModuleRoot() . 'common/view/footer.html.php';?>