<td> <div id="contentDescription"><?php echo str_replace("\n", '<br />', htmlentities($issue['description'])); ?> </div> </td> </tr> <?php } ?> <?php if ($attachments) { ?> <?php Util::includePartial(__DIR__ . '/../../../../Yongo/Resources/views/issue/_attachments.php', array('attachments' => $attachments, 'loggedInUserId' => $loggedInUserId, 'hasDeleteAllAttachmentsPermission' => $hasDeleteAllAttachmentsPermission, 'hasDeleteOwnAttachmentsPermission' => $hasDeleteOwnAttachmentsPermission)); ?> <?php } ?> <?php if ($issue['environment']) { ?> <tr> <td id="sectEnvironment" class="sectionDetail" colspan="2"><span class="sectionDetailTitle headerPageText">Environment</span></td> </tr> <tr> <td> <div id="contentEnvironment"><?php echo str_replace("\n", '<br />', htmlentities($issue['environment']));
<td><a id="btnIssueAssignToMe" href="#" class="btn ubirimi-btn">Assign To Me</a></td> <?php } ?> <?php if ($hasAddCommentsPermission) { ?> <td> <a id="btnEditIssueComment" href="#" class="btn ubirimi-btn"><i class="icon-comment"></i> Comment</a> </td> <?php } ?> <td> <?php Util::includePartial(__DIR__ . '/_moreActionMenu.php', array('issueEditableProperty' => $issueEditableProperty, 'issue' => $issue, 'hasCreatePermission' => isset($hasCreatePermission) ? $hasCreatePermission : null, 'hasLinkIssuePermission' => $hasLinkIssuePermission, 'parentIssue' => $parentIssue, 'timeTrackingFlag' => $timeTrackingFlag, 'subTaskIssueTypes' => isset($subTaskIssueTypes) ? $subTaskIssueTypes : null, 'issueLinkingFlag' => isset($issueLinkingFlag) ? $issueLinkingFlag : null, 'hasMoveIssuePermission' => isset($hasMoveIssuePermission) ? $hasMoveIssuePermission : null, 'hasWorkOnIssuePermission' => isset($hasWorkOnIssuePermission) ? $hasWorkOnIssuePermission : null, 'hasCreateAttachmentPermission' => isset($hasCreateAttachmentPermission) ? $hasCreateAttachmentPermission : null)); ?> </td> <td><a id="btnPrint" target="_blank" href="/yongo/issue/print/<?php echo $issue['id']; ?> " class="btn ubirimi-btn"><i class="icon-print"></i> Print</a></td> <?php if ($hasDeletePermission) { ?> <td> <a id="btnDeleteIssueDetail" href="#" class="btn ubirimi-btn"> <i class="icon-remove"></i> Delete </a> </td> <?php
<?php if ($childrenIssues && $childrenIssues->num_rows) { ?> <?php require_once __DIR__ . '/_childrenIssues.php'; ?> <?php } ?> <?php if ($attachments) { ?> <?php Util::includePartial(__DIR__ . '/_attachments.php', array('attachments' => $attachments, 'loggedInUserId' => $loggedInUserId, 'hasDeleteAllAttachmentsPermission' => $hasDeleteAllAttachmentsPermission, 'hasDeleteOwnAttachmentsPermission' => $hasDeleteOwnAttachmentsPermission)); ?> <?php } ?> <?php if ($linkedIssues) { ?> <?php require_once __DIR__ . '/../issue/_linked_issues.php'; ?> <?php } ?>