Ejemplo n.º 1
0
'><?php 
    echo $lang->story->statusList[$story->status];
    ?>
</td>
        <td><?php 
    echo $lang->story->stageList[$story->stage];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
        <tr>
          <td colspan='8' class='text-left'>
            <?php 
if (count($allStories)) {
    echo "<div class='table-actions clearfix'>";
    echo "<div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>';
    echo html::submitButton($lang->story->linkStory) . html::a(inlink('view', "releaseID={$release->id}&type=story"), $lang->goback, '', "class='btn'") . '</div>';
}
?>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm('#stories .linkBox #querybox')})</script>
Ejemplo n.º 2
0
    if (strtotime(date('Y-m-d H:i:s')) - strtotime($user->locked) < $this->config->user->lockMinutes * 60) {
        common::printIcon('user', 'unlock', "userID={$user->account}", '', 'list', '', "hiddenwin");
    }
    ?>
          </td>
        </tr>
        <?php 
}
?>
        </tbody>
        <tfoot>
        <tr>
          <td colspan='12'>
          <?php 
if ($canBatchEdit or $canManageContacts) {
    echo html::selectAll() . html::selectReverse();
}
if ($canBatchEdit) {
    echo html::submitButton($lang->edit, 'onclick=batchEdit()');
}
if ($canManageContacts) {
    echo html::submitButton($lang->user->contacts->manage, 'onclick=manageContacts()');
}
$pager->show();
?>
          </td>
        </tr>
        </tfoot>
      </table>
    </td>
  </tr>
Ejemplo n.º 3
0
        echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"leftBugList\",confirmUnlinkBug)", '<i class="icon-unlink"></i>', '', "class='btn-icon' title='{$lang->release->unlinkBug}'");
    }
    ?>
                </td>
              </tr>
              <?php 
}
?>
              <tfoot>
                <tr>
                  <td colspan='7'>
                    <div class='table-actions clearfix'>
                      <div class='text'>
                        <?php 
if ($countLeftBugs and $canBatchUnlink) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>' . html::submitButton($lang->release->batchUnlink) . '</div>';
}
?>
                        <?php 
echo sprintf($lang->release->createdBugs, $countLeftBugs);
?>
                      </div>
                    </div>
                  </td>
                </tr>
              </tfoot>
            </table>
            </form>
          </div>
        </div>
      </div>
Ejemplo n.º 4
0
</td>
      <td><?php 
    echo $story->estimate;
    ?>
</td>
    </tr>
    <?php 
    $storyCount++;
    ?>
    <?php 
}
?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='7' class='a-left'>
          <?php 
if ($storyCount) {
    echo html::selectAll() . html::selectReverse() . html::submitButton();
}
if (!$storyCount) {
    echo $lang->project->whyNoStories;
}
?>
        </td>
      </tr>
    </tfoot>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 5
0
  <tr valign='top'>
    <td class='side'>
      <div class='box-title'><?php 
echo $lang->story->report->select;
?>
</div>
      <div class='box-content'>
        <form method='post'>
        <?php 
echo html::checkBox('charts', $lang->story->report->charts, $checkedCharts);
?>
        <?php 
echo html::selectAll();
?>
        <?php 
echo html::selectReverse();
?>
        <br /><br />
        <?php 
echo html::submitButton($lang->story->report->create);
?>
      </div>
    </td>
    <td class='divider'></td>
    <td>
      <table class='table-1'>
        <caption><?php 
echo $lang->story->report->common;
?>
</caption>
        <?php 
Ejemplo n.º 6
0
</td>
      <td><?php 
    echo html::select("pri[{$bug->id}]", $lang->task->priList, 3);
    ?>
</td>
      <td><?php 
    echo html::select("assignedTo[{$bug->id}]", $users, zget($users, $bug->assignedTo, '', $bug->assignedTo));
    ?>
</td>
      <td><?php 
    echo html::input("estimate[{$bug->id}]", '', 'size=4');
    ?>
</td>
    </tr>
    <?php 
}
?>
    </tbody>
    <tr><td colspan='9'><div class='f-right'><?php 
$pager->show();
?>
</div></td></tr>
  </table>
  <div><?php 
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->import) . html::backButton();
?>
</div>
</form>
</div>
<?php 
include '../../common/view/footer.html.php';
    common::printIcon('task', 'activate', "taskID={$task->id}", $task, 'list');
    ?>
      </td>
    </tr>
    <?php 
}
?>
    </tbody>
    <tfoot>
      <tr>
        <td colspan='11'>
        <?php 
if ($canBatchClose) {
    ?>
        <div class='f-left'><?php 
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->close);
    ?>
</div> 
        <?php 
}
?>
        <?php 
$pager->show();
?>
        </td>
      </tr>
    </tfoot>
  </table> 
<?php 
if ($canBatchClose) {
    echo '</form>';
Ejemplo n.º 8
0
        echo html::a("javascript:ajaxDelete(\"{$unlinkURL}\",\"bugList\",confirmUnlinkBug)", "<i class='icon-remove'></i>", '', "title='{$lang->build->unlinkBug}' class='btn-icon'");
    }
    ?>
        </td>
      </tr>
      <?php 
}
?>
      <?php 
if (count($buildBugs) and $canBatchUnlink) {
    ?>
      <tfoot>
      <tr>
        <td colspan='8' class='text-left'>
        <?php 
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('linkedBugsForm') . html::selectReverse('linkedBugsForm') . '</div>';
    echo html::submitButton($lang->productplan->batchUnlink) . '</div>';
    ?>
        </td>
      </tr>
      </tfoot>
      <?php 
}
?>
      </tbody>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm()})</script>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 9
0
</td>
        <td><?php 
    echo $lang->story->stageList[$story->stage];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
        <tr>
          <td colspan='9' class='text-left'>
            <?php 
if (count($allStories)) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedStoriesForm') . html::selectReverse('unlinkedStoriesForm') . '</div>' . html::submitButton($lang->story->linkStory) . '</div>';
}
?>
          </td>
        </tr>
      </tfoot>
    </table>
  </form>
  <hr class='mg-0'>
  <form method='post' target='hiddenwin' action="<?php 
echo inLink('batchUnlinkStory');
?>
" id='linkedStoriesForm'>
    <table class='table table-condensed table-hover table-striped tablesorter table-fixed'> 
      <caption class='text-left text-important'><?php 
echo html::icon('link');
Ejemplo n.º 10
0
    ?>
'><?php 
    echo $lang->bug->statusList[$bug->status];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
      <tr>
        <td colspan='6' class='text-left'>
          <?php 
if (count($allBugs)) {
    echo "<div class='table-actions clearfix'>";
    echo "<div class='btn-group'>" . html::selectAll($formID) . html::selectReverse($formID) . '</div>';
    echo html::submitButton($lang->release->linkBug) . html::a(inlink('view', "releaseID={$release->id}&type={$type}"), $lang->goback, '', "class='btn'") . '</div>';
}
?>
        </td>
      </tr>
      </tfoot>
    </table>
  </form>
</div>
<script>$(function(){ajaxGetSearchForm('#<?php 
echo $type == 'bug' ? 'bugs' : 'leftBugs';
?>
 .linkBox #querybox')})</script>
Ejemplo n.º 11
0
    ?>
</td>
      <td><?php 
    common::printIcon('productplan', 'unlinkStory', "story={$story->id}", '', 'list', '', 'hiddenwin');
    ?>
</td>
    </tr>
    <?php 
}
?>
    <?php 
if (count($planStories) and $canBatchUnlink) {
    ?>
    <tfoot>
    <tr>
      <td colspan='9' class='a-left'>
      <?php 
    echo html::selectAll('linkedStoriesForm') . html::selectReverse('linkedStoriesForm');
    echo html::submitButton($lang->productplan->batchUnlinkStory);
    ?>
      </td>
    </tr>
    </tfoot>
    <?php 
}
?>
    </tbody>
  </table>
</form>
<?php 
include '../../common/view/footer.html.php';
}
?>
          </tbody>
          <tfoot>
            <tr>
              <?php 
$columns = $this->cookie->windowWidth > $this->config->wideSize ? 14 : 12;
?>
              <td colspan='<?php 
echo $columns;
?>
'>
                <div class='f-left'>
                <?php 
if (common::hasPriv('task', 'batchEdit') and count($tasks)) {
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->task->batchEdit);
}
printf($lang->project->taskSummary, count($tasks), $statusWait, $statusDoing, $totalEstimate, $totalConsumed, $totalLeft, round($estimate_sum * $pcwh), round($consumed_sum) * $pcwh);
?>
                </div>
                <?php 
$pager->show();
?>
              </td>
            </tr>
          </tfoot>
        </table>
      </form>
    </td>
  </tr>
</table>
Ejemplo n.º 13
0
      <td class=<?php 
    echo $task->status;
    ?>
 ><?php 
    echo $lang->task->statusList[$task->status];
    ?>
</td>
      <td class='a-left nobr'>
        <?php 
    if ($task->storyID) {
        if (common::hasPriv('story', 'view')) {
            echo html::a($this->createLink('story', 'view', "storyid={$task->storyID}"), $task->storyTitle);
        } else {
            echo $task->storyTitle;
        }
    }
    ?>
      </td>
    </tr>
    <?php 
}
?>
    </tbody>
  </table>
  <div><?php 
echo html::selectAll() . html::selectReverse() . html::submitButton($lang->project->importTask);
?>
</div>
</form>
<?php 
include '../../common/view/footer.html.php';
Ejemplo n.º 14
0
</td>
        <td><?php 
    echo $lang->bug->statusList[$bug->status];
    ?>
</td>
      </tr>
      <?php 
}
?>
      </tbody>
      <tfoot>
      <tr>
        <td colspan='6' class='text-left'>
          <?php 
if (count($allBugs)) {
    echo "<div class='table-actions clearfix'><div class='btn-group'>" . html::selectAll('unlinkedBugsForm') . html::selectReverse('unlinkedBugsForm') . '</div>' . html::submitButton($lang->productplan->linkBug) . '</div>';
}
?>
        </td>
      </tr>
      </tfoot>
    </table>
  </form>
  <hr class='mg-0'>
  <form method='post' target='hiddenwin' action="<?php 
echo inLink('batchUnlinkBug');
?>
" id='linkedBugsForm'>
    <table class='table table-condensed table-hover table-striped tablesorter table-fixed'> 
      <caption class='text-left text-important'><?php 
echo html::icon('unlink');
Ejemplo n.º 15
0
    common::printIcon('bug', 'edit', $params, '', 'list');
    ?>
    </td>
  </tr>
  <?php 
}
?>
  </tbody>
  <tfoot>
    <tr><td colspan='9'>
    <?php 
if ($bugs and $canBatchEdit) {
    ?>
    <div class='f-left'>
    <?php 
    echo html::selectAll() . html::selectReverse() . html::submitButton($lang->edit);
    ?>
    </div>
    <?php 
}
?>
    <?php 
$pager->show();
?>
    </td></tr>
  </tfoot>
</table>
</form>
<script language='javascript'>$("#<?php 
echo $type;
?>