Example #1
0
if (Util::checkUserIsLoggedIn()) {
    ?>
            <table cellspacing="0" border="0" cellpadding="0" class="tableButtons">
                <tr>
                    <td><a id="btnUserChangePassword" href="#" class="btn ubirimi-btn">Change Password</a></td>
                </tr>
            </table>
        <?php 
}
?>

        <div class="messageGreen" id="userDataUpdated"></div>

        <ul class="nav nav-tabs" style="padding: 0px;">
            <li><?php 
echo LinkHelper::getUserProfileLink($userId, SystemProduct::SYS_PRODUCT_DOCUMENTADOR, 'Summary', '');
?>
</li>
            <li><a href="/documentador/user/favourites/<?php 
echo $userId;
?>
">Favourites</a></li>
            <li class="active"><a href="/documentador/user/activity/<?php 
echo $userId;
?>
">Activity</a></li>
        </ul>

        <div style="height: 4px"></div>
        <?php 
if ($activities) {
Example #2
0
    ?>
"
                                 height="16px"
                                 src="/yongo/img/issue_priority/<?php 
    echo $childIssue['issue_priority_icon_name'];
    ?>
" />
                        </td>
                        <td style="width: 150px;">
                            <?php 
    echo $childIssue['status_name'];
    ?>
                        </td>
                        <td style="text-align: right; width: 200px;">
                            <?php 
    echo LinkHelper::getUserProfileLink($issue[Field::FIELD_ASSIGNEE_CODE], SystemProduct::SYS_PRODUCT_YONGO, $childIssue['ua_first_name'], $childIssue['ua_last_name']);
    ?>
                        </td>
                        <td align="right" style="text-align: right;">
                            <div class="btn-group" align="right">
                                <a id="btnOptions" href="#" class="btn ubirimi-btn dropdown-toggle" data-toggle="dropdown">
                                    <i class="icon-asterisk"></i> <span class="caret"></span>
                                </a>

                                <ul class="dropdown-menu pull-right">
                                    <li><a id="edit_issue_child_<?php 
    echo $childIssue['id'];
    ?>
" href="#">Edit</a></li>
                                    <?php 
    if ($childIssue['assignee'] != $loggedInUserId) {
Example #3
0
 public function getCommentsLayoutHTML($comments, &$htmlLayout, $commentParentId, $identationIndex)
 {
     for ($i = 0; $i < count($comments); $i++) {
         if ($comments[$i]['parent_comment_id'] == $commentParentId && $comments[$i]['printed'] == 0) {
             if ($comments[$i]['parent_comment_id'] == null) {
                 $identationIndex = 0;
             }
             $htmlLayout .= '<table class="table table-hover table-condensed">';
             $htmlLayout .= '<tr>';
             for ($j = 0; $j < $identationIndex; $j++) {
                 $htmlLayout .= '<td width="30"></td>';
             }
             $htmlLayout .= '<td width="25px" style="vertical-align: top">';
             $htmlLayout .= '<img src="' . UbirimiContainer::get()['repository']->get(UbirimiUser::class)->getUserAvatarPicture(UbirimiContainer::get()['session']->get('user'), 'small') . '" style="vertical-align: top" />';
             $htmlLayout .= '</td>';
             $htmlLayout .= '<td>';
             $htmlLayout .= LinkHelper::getUserProfileLink($comments[$i]['user_id'], SystemProduct::SYS_PRODUCT_DOCUMENTADOR, $comments[$i]['first_name'], $comments[$i]['last_name']);
             $htmlLayout .= '<div>' . str_replace("\n", "<br />", $comments[$i]['content']) . '</div>';
             $htmlLayout .= '<div style="margin-top: 4px">';
             $htmlLayout .= '<a href="#" id="entity_reply_comment_' . $comments[$i]['id'] . '">Reply</a>';
             $htmlLayout .= '<span> | </span>';
             $htmlLayout .= '<a href="#" id="entity_delete_comment_' . $comments[$i]['id'] . '">Delete</a>';
             $htmlLayout .= '</div>';
             $htmlLayout .= '<div id="innerCommentSection_' . $comments[$i]['id'] . '" style="display: none;">';
             $htmlLayout .= '<textarea class="inputTextAreaLarge" id="inner_doc_view_page_add_comment_content_' . $comments[$i]['id'] . '" style="width: 100%"></textarea>';
             $htmlLayout .= '<div style="height: 2px"></div>';
             $htmlLayout .= '<table width="100%" cellpadding="0" cellspacing="0" border="0">';
             $htmlLayout .= '<tr>';
             $htmlLayout .= '<td>';
             $htmlLayout .= '<div>';
             $htmlLayout .= '<input type="button" name="add_comment" id="inner_btn_doc_view_page_add_comment_' . $comments[$i]['id'] . '" value="Add Comment" class="btn ubirimi-btn"/>';
             $htmlLayout .= '</div>';
             $htmlLayout .= '</td>';
             $htmlLayout .= '</tr>';
             $htmlLayout .= '</table>';
             $htmlLayout .= '</div>';
             $htmlLayout .= '</td>';
             $htmlLayout .= '</tr>';
             $htmlLayout .= '</table>';
             $comments[$i]['printed'] = 1;
             $identationIndex++;
             EntityComment::getCommentsLayoutHTML($comments, $htmlLayout, $comments[$i]['id'], $identationIndex);
             $identationIndex--;
         }
     }
     return $htmlLayout;
 }
Example #4
0
>
                        <?php 
    if (Util::userHasClientAdministrationPermission()) {
        ?>
                            <td width="22">
                                <input type="checkbox" value="1" id="el_check_<?php 
        echo $user['id'];
        ?>
" />
                            </td>
                        <?php 
    }
    ?>
                        <td>
                            <?php 
    echo LinkHelper::getUserProfileLink($user['id'], SystemProduct::SYS_PRODUCT_YONGO, $user['first_name'], $user['last_name']);
    ?>
                        </td>
                        <td><?php 
    echo $user['username'];
    ?>
</td>
                        <td><?php 
    echo $user['email'];
    ?>
</td>
                        <td>
                            <?php 
    if ($user['customer_service_desk_flag']) {
        ?>
                                <span>Yes</span>
Example #5
0
 if ($columns[$i] == 'reporter') {
     ?>
                 <td class="issueUR">
                     <?php 
     echo LinkHelper::getUserProfileLink($issue[Field::FIELD_REPORTER_CODE], $selectedProductId, $issue['ur_first_name'], $issue['ur_last_name']);
     ?>
                 </td>
             <?php 
 }
 ?>
             <?php 
 if ($columns[$i] == 'assignee') {
     ?>
                 <td class="issueUA">
                     <?php 
     echo LinkHelper::getUserProfileLink($issue[Field::FIELD_ASSIGNEE_CODE], $selectedProductId, $issue['ua_first_name'], $issue['ua_last_name']);
     ?>
                 </td>
             <?php 
 }
 ?>
             <?php 
 if (substr($columns[$i], 0, 4) == 'sla_') {
     ?>
                 <?php 
     $slaIds = explode("_", str_replace('sla_', '', $columns[$i]));
     ?>
                 <td class="issueSLA">
                     <?php 
     for ($j = 0; $j < count($slaIds); $j++) {
         ?>
Example #6
0
        echo $revisionCount + 1;
        ?>
" id="revision_<?php 
        echo $revision['id'];
        ?>
" />
                                        </div>
                                    </td>
                                    <td>
                                        <?php 
        echo Util::getFormattedDate($page['date_created'], $clientSettings['timezone']);
        ?>
                                    </td>
                                    <td>
                                        <?php 
        echo LinkHelper::getUserProfileLink($revision['user_id'], SystemProduct::SYS_PRODUCT_YONGO, $page['first_name'], $page['last_name']);
        ?>
                                    </td>
                                </tr>
                            <?php 
    }
    ?>
                        </table>
                    </td>
                </tr>
            </table>
        <?php 
} else {
    ?>
            <div class="infoBox">There are no revisions for this page.</div>
        <?php 
Example #7
0
     $htmlOutputIssueRow .= '<img title="' . $issue['type_name'] . ' - ' . $issue['issue_type_description'] . '" height="16px" src="/yongo/img/issue_type/' . $issue['issue_type_icon_name'] . '" /> ';
     $htmlOutputIssueRow .= '<a href="/yongo/issue/' . $issue['id'] . '">' . $issue['project_code'] . '-' . $issue['nr'] . '</a>';
     $htmlOutputIssueRow .= '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueSummary"><a href="/yongo/issue/' . $issue['id'] . '">' . $issue['summary'] . '</a></td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issuePriority">';
     $htmlOutputIssueRow .= '<img title="' . $issue['priority_name'] . ' - ' . $issue['issue_priority_description'] . '" height="16px" src="/yongo/img/issue_priority/' . $issue['issue_priority_icon_name'] . '" />';
     $htmlOutputIssueRow .= '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueStatus">' . $issue['status_name'] . '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueDC">' . date('j/M/Y', strtotime($issue['date_created'])) . '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueDU">';
     if ($issue['date_updated']) {
         $htmlOutputIssueRow .= date('j/M/Y', strtotime($issue['date_updated']));
     }
     $htmlOutputIssueRow .= '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueUR">' . LinkHelper::getUserProfileLink($issue[Field::FIELD_REPORTER_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ur_first_name'], $issue['ur_last_name']) . '</td>';
     $htmlOutputIssueRow .= '<td class="tdElementList issueUA">' . LinkHelper::getUserProfileLink($issue[Field::FIELD_ASSIGNEE_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ua_first_name'], $issue['ua_last_name']) . '</td>';
     $htmlOutputIssueRow .= '</tr>';
 }
 $session->set('array_ids', $arrayIds);
 if ($htmlOutputIssueRow != '') {
     echo '<table class="table table-hover table-condensed">';
     echo Util::renderTableHeader($getSearchParameters, $columns);
     echo $htmlOutputIssueRow;
     echo '</table>';
 } else {
     $htmlOutputIssueRow .= '<table class="table table-hover table-condensed">';
     $htmlOutputIssueRow .= '<tr id="table_row_' . $issue['id'] . '">';
     $htmlOutputIssueRow .= '<td colspan="' . count($columns) . '">No issues were found to match your search</td>';
     $htmlOutputIssueRow .= '</tr>';
     $htmlOutputIssueRow .= '</table>';
     echo $htmlOutputIssueRow;
Example #8
0
 if ($permData) {
     echo '<ul>';
     while ($data = $permData->fetch_array(MYSQLI_ASSOC)) {
         if ($data['current_assignee']) {
             echo '<li>Current Assignee (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
         } else {
             if ($data['reporter']) {
                 echo '<li>Reporter (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
             } else {
                 if ($data['project_lead']) {
                     echo '<li>Project Lead (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
                 }
             }
         }
         if ($data['user_id']) {
             echo '<li>Single User (' . LinkHelper::getUserProfileLink($data['user_id'], SystemProduct::SYS_PRODUCT_YONGO, $data['first_name'], $data['last_name']) . ') (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
         }
         if (isset($data['group_id'])) {
             if (0 == $data['group_id']) {
                 echo '<li>Group (Anyone) (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
             } else {
                 echo '<li>Group (' . $data['group_name'] . ') (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
             }
         }
         if ($data['permission_role_id']) {
             echo '<li>Project Role (' . $data['permission_role_name'] . ') (<a href="#" id="perm_delete_' . $data['id'] . '">Delete</a>)</li>';
         }
     }
     echo '</ul>';
 }
 ?>
Example #9
0
            <td>
                <div><a class="linkSubMenu" href="#" id="btnCreateNotebook">Create Notebook</a></div>
            </td>
        </tr>

    </table>
</div>

<?php 
if ($loggedInUserId) {
    ?>
    <div style="display: none;" id="contentUserHome">
        <table class="tableMenu" width="100%" cellpadding="0" cellspacing="0" border="0">
            <tr>
                <td><div><?php 
    echo LinkHelper::getUserProfileLink($loggedInUserId, SystemProduct::SYS_PRODUCT_YONGO, 'Profile', '', 'linkSubMenu');
    ?>
</div></td>
            </tr>
            <tr>
                <td>
                    <span style="border-bottom: 1px solid #BBBBBB; margin-bottom: 4px; padding-bottom: 4px; display: block;"></span>
                </td>
            </tr>
            <tr>
                <td><div><a class="linkSubMenu" href="/sign-out">Sign out</a></div></td>
            </tr>
        </table>
    </div>
<?php 
}
Example #10
0
    foreach ($customFieldsDataUserPickerMultipleUser as $fieldId => $fieldData) {
        ?>
                    <tr>
                        <td width="160px" class="textLabel"><?php 
        echo $fieldData[0]['field_name'];
        ?>
:</td>
                        <td>
                            <?php 
        $usersCustomField = array();
        ?>
                            <?php 
        foreach ($fieldData as $userSelected) {
            ?>
                                <?php 
            $usersCustomField[] = LinkHelper::getUserProfileLink($userSelected['user_id'], SystemProduct::SYS_PRODUCT_YONGO, $userSelected['first_name'], $userSelected['last_name']);
            ?>
                            <?php 
        }
        ?>
                            <?php 
        echo implode(', ', $usersCustomField);
        ?>
                        </td>
                    </tr>
                <?php 
    }
    ?>
            <?php 
}
?>
Example #11
0
                <td><div class="textLabel">Assignee:</div></td>
                <td>
                    <?php 
if ($issue[Field::FIELD_ASSIGNEE_CODE]) {
    echo LinkHelper::getUserProfileLink($issue[Field::FIELD_ASSIGNEE_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ua_first_name'], $issue['ua_last_name']);
} else {
    echo 'Unassigned';
}
?>
                </td>
            </tr>
            <tr>
                <td><div class="textLabel">Reporter:</div></td>
                <td>
                    <?php 
echo LinkHelper::getUserProfileLink($issue[Field::FIELD_REPORTER_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ur_first_name'], $issue['ur_last_name']);
?>
                </td>
            </tr>
            <tr>
                <td id="sectDescription" class="sectionDetail" colspan="2">
                    <span class="sectionDetailTitle headerPageTextSmall">Dates</span>
                </td>
            </tr>
            <tr>
                <td>
                    <div class="textLabel">Created:</div>
                </td>
                <td><?php 
if ($issue['date_created']) {
    echo date('j M Y H:i', strtotime($issue['date_created']));
Example #12
0
use Ubirimi\SystemProduct;
?>
<table width="100%">
    <tr>
        <td id="sectPeople" width="74%" class="sectionDetail" colspan="3"><span class="headerPageText sectionDetailTitle">People</span></td>
    </tr>
    <tr>
        <td>
            <table width="100%" id="contentPeople">
                <tr>
                    <td>
                        <span>Ubirimi enables you to allocate particular people to specific roles in your project. Roles are used when defining other settings, like notifications and permissions.</span>
                    </td>
                </tr>
                <tr>
                    <td valign="top" width="330">
                        <div>Project Lead: <?php 
echo LinkHelper::getUserProfileLink($project['lead_id'], SystemProduct::SYS_PRODUCT_YONGO, $project['first_name'], $project['last_name']);
?>
</div>
                        <div>Default Assignee: Project Lead</div>
                        <div>Roles: <a href="/yongo/administration/project/people/<?php 
echo $projectId;
?>
">View Project Roles</a></div>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
</table>
Example #13
0
 public static function renderIssueTables($params, $columns, $clientSettings)
 {
     $htmlOutput = '';
     $htmlOutput .= '<div>';
     $issues = $params['issues'];
     $atLeastOneIssueRendered = false;
     if ($issues && $issues->num_rows) {
         $htmlOutput .= '<table width="100%" id="table_list" class="table table-hover table-condensed">';
         if (isset($params['show_header']) && $params['show_header']) {
             $htmlOutput .= Util::renderTableHeader($params, $columns);
         } else {
             $htmlOutput .= '<tr></tr>';
             // hack ca sa mearga selectul pe prima linie
         }
         $disabledText = '';
         if (isset($params['checkbox_disabled']) && $params['checkbox_disabled']) {
             $disabledText = 'disabled="disabled"';
         }
         while ($issue = $issues->fetch_array(MYSQLI_ASSOC)) {
             $atLeastOneIssueRendered = true;
             $htmlOutput .= '<tr';
             if ($params['render_checkbox']) {
                 $htmlOutput .= ' id="table_row_' . $issue['id'];
             }
             $htmlOutput .= '">';
             if ($params['render_checkbox']) {
                 $htmlOutput .= '<td width="22">';
                 $checkId = 'el_check_' . $issue['id'];
                 $htmlOutput .= '<input ' . $disabledText . ' type="checkbox" value="1" id="' . $checkId . '"/>';
                 if (array_key_exists('in_backlog', $params)) {
                     $htmlOutput .= '<input type="hidden" value="1" id="backlog_' . $checkId . '"/>';
                 } else {
                     $htmlOutput .= '<input type="hidden" value="0" id="backlog_' . $checkId . '"/>';
                 }
                 $htmlOutput .= '</td>';
             }
             for ($indexColumn = 0; $indexColumn < count($columns); $indexColumn++) {
                 if ($columns[$indexColumn] == 'code') {
                     $htmlOutput .= '<td class="issuePC">';
                     $htmlOutput .= '<img title="' . $issue['type'] . ' - ' . $issue['issue_type_description'] . '" height="16px" src="/yongo/img/issue_type/' . $issue['issue_type_icon_name'] . '" /> ';
                     $htmlOutput .= '<a href="/yongo/issue/' . $issue['id'] . '">' . $issue['project_code'] . '-' . $issue['nr'] . '</a>';
                     $htmlOutput .= "</td>\n";
                 }
                 if ($columns[$indexColumn] == 'summary') {
                     $htmlOutput .= '<td class="issueSummary"><a href="/yongo/issue/' . $issue['id'] . '">' . htmlentities($issue['summary']) . "</a></td>\n";
                 }
                 if ($columns[$indexColumn] == 'priority') {
                     $htmlOutput .= '<td class="issuePriority">' . "\n";
                     $htmlOutput .= '<img title="' . $issue['priority'] . ' - ' . $issue['issue_priority_description'] . '" height="16px" src="/yongo/img/issue_priority/' . $issue['issue_priority_icon_name'] . '" />';
                     $htmlOutput .= "</td>\n";
                 }
                 if ($columns[$indexColumn] == 'status') {
                     $htmlOutput .= '<td class=" issueStatus">' . $issue['status_name'] . '</td>';
                 }
                 if ($columns[$indexColumn] == 'date_created') {
                     $htmlOutput .= '<td class="issueDC">' . Util::getFormattedDate($issue['date_created'], $clientSettings['timezone']) . "</td>\n";
                 }
                 if ($columns[$indexColumn] == 'date_updated') {
                     $htmlOutput .= '<td class="issueDU">';
                     if ($issue['date_updated']) {
                         $htmlOutput .= Util::getFormattedDate($issue['date_updated'], $clientSettings['timezone']);
                     }
                     $htmlOutput .= '</td>';
                 }
                 if ($columns[$indexColumn] == 'reporter') {
                     $htmlOutput .= '<td class="issueUR">' . LinkHelper::getUserProfileLink($issue[Field::FIELD_REPORTER_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ur_first_name'], $issue['ur_last_name']) . '</td>';
                 }
                 if ($columns[$indexColumn] == 'assignee') {
                     $htmlOutput .= '<td class="issueUA">' . LinkHelper::getUserProfileLink($issue[Field::FIELD_ASSIGNEE_CODE], SystemProduct::SYS_PRODUCT_YONGO, $issue['ua_first_name'], $issue['ua_last_name']) . '</td>';
                 }
                 if ($columns[$indexColumn] == 'resolution') {
                     $htmlOutput .= '<td>' . $issue['resolution_name'] . '</td>';
                 }
                 if ($columns[$indexColumn] == 'updated') {
                     $htmlOutput .= '<td>' . $issue['date_updated'] . '</td>';
                 }
                 if ($columns[$indexColumn] == 'created') {
                     $htmlOutput .= '<td>' . $issue['date_created'] . '</td>';
                 }
             }
             $htmlOutput .= '</tr>';
         }
         $htmlOutput .= '</table>';
     }
     $htmlOutput .= '</div>';
     echo $htmlOutput;
     return $atLeastOneIssueRendered;
 }
Example #14
0
    echo 'Unassigned';
}
?>
                    </td>
                </tr>
                <tr>
                    <td valign="top" width="80px">
                        <div class="textLabel">Reporter:</div>
                    </td>
                    <td valign="middle">
                        <img width="33px" style="vertical-align: middle;" src="<?php 
echo UbirimiContainer::get()['repository']->get(UbirimiUser::class)->getUserAvatarPicture(array('avatar_picture' => $issue['reporter_avatar_picture'], 'id' => $issue['reporter']), 'small');
?>
" />
                            <?php 
echo LinkHelper::getUserProfileLink($issue[Field::FIELD_REPORTER_CODE], $selectedProductId, $issue['ur_first_name'], $issue['ur_last_name']);
?>
                    </td>
                </tr>
                <tr>
                    <td valign="top" colspan="2">
                        <div class="textLabel">
                            <span>Watchers: </span>
                            <span style="background-color: #d3d3d3; border-radius: 2em; padding: 0px 2px 2px 6px; cursor: pointer;" id="issueWatcherCount">
                                <b><?php 
if (isset($watchers)) {
    echo $watchers->num_rows;
} else {
    echo '0';
}
?>
Example #15
0
        $date = date("F j, Y", strtotime($lastRevision['date_created']));
        $lastEditedText .= LinkHelper::getUserProfileLink($lastRevision['user_id'], SystemProduct::SYS_PRODUCT_DOCUMENTADOR, $lastRevision['first_name'], $lastRevision['last_name']) . ' on ' . $date;
    } else {
        $date = date("F j, Y", strtotime($page['date_created']));
        $lastEditedText .= LinkHelper::getUserProfileLink($page['user_id'], SystemProduct::SYS_PRODUCT_DOCUMENTADOR, $page['first_name'], $page['last_name']) . ' on ' . $date;
    }
    $linkAttachments = '';
    if ($attachments) {
        $linkAttachments = '<a href="/documentador/page/attachments/' . $entityId . '"><img border="0" src="/img/attachment.png" height="10px" /></a> <a href="/documentador/page/attachments/' . $entityId . '">' . $attachments->num_rows . '</a>';
    }
    ?>
            <div class="smallDescription"><?php 
    echo $linkAttachments;
    ?>
 Added by <?php 
    echo LinkHelper::getUserProfileLink($page['user_id'], SystemProduct::SYS_PRODUCT_DOCUMENTADOR, $page['first_name'], $page['last_name']);
    ?>
, <?php 
    echo $lastEditedText;
    ?>
</div>

            <div>
                <?php 
    if ($revisionId) {
        echo '<div class="infoBox">';
        echo '<div>You are viewing an old version of this page. View the <a href="/documentador/page/view/' . $entityId . '">current version</a>.</div>';
        echo '<div>Restore this Version | <a href="/documentador/page/history/' . $entityId . '">View Page History</a></div>';
        echo '</div>';
        echo $revision['content'];
    } else {
?>
" title="New">Issues</a></li>
        </ul>

        <table>
            <tr>
                <td><span class="textLabel">Description:</span></td>
                <td><?php 
echo $component['description'];
?>
</td>
            </tr>
            <tr>
                <td><span class="textLabel">Leader:</span></td>
                <td><?php 
echo LinkHelper::getUserProfileLink($component['user_id'], SystemProduct::SYS_PRODUCT_YONGO, $component['first_name'], $component['last_name']);
?>
</td>
            </tr>
        </table>

        <table width="100%" cellpadding="2">
            <tr>
                <td colspan="3" class="sectionDetail"><span class="sectionDetailSimple headerPageText">Issues: Unresolved</span></td>
            </tr>
        </table>
        <?php 
if ($issues) {
    ?>
            <?php 
    $renderParameters = array('issues' => $issues, 'render_checkbox' => false, 'show_header' => true);
Example #17
0
                    <td><?php 
echo $board['name'];
?>
</td>
                </tr>
                <tr>
                    <td>Description</td>
                    <td><?php 
echo $board['description'];
?>
</td>
                </tr>
                <tr>
                    <td>Created by</td>
                    <td><?php 
echo LinkHelper::getUserProfileLink($board['user_created_id'], SystemProduct::SYS_PRODUCT_YONGO, $board['first_name'], $board['last_name']);
?>
</td>
                </tr>
            </table>

            <ul class="nav nav-tabs" style="padding: 0px;">
                <li class="active"><a href="/agile/configure-board/<?php 
echo $boardId;
?>
" title="Summary">Filter</a></li>
                <li><a href="/agile/edit-board-columns/<?php 
echo $boardId;
?>
" title="Issues">Columns</a></li>
                <li><a href="/agile/board-swimlane/<?php 
Example #18
0
    public function renderTreeComponents($components, $identationIndex)
    {
        ?>
        <?php 
        while ($components && ($component = $components->fetch_array(MYSQLI_ASSOC))) {
            ?>
            <tr id="table_row_<?php 
            echo $component['id'];
            ?>
">
                <td width="22"><input type="checkbox" value="1" id="el_check_<?php 
            echo $component['id'];
            ?>
"/></td>
                <td>
                    <?php 
            for ($i = 0; $i < $identationIndex; $i++) {
                ?>
                        &nbsp;&nbsp;&nbsp;
                    <?php 
            }
            ?>
                    <?php 
            echo $component['name'];
            ?>
                </td>
                <td><?php 
            echo $component['description'];
            ?>
</td>
                <td>
                    <?php 
            if ($component['user_id']) {
                ?>
                    <?php 
                echo LinkHelper::getUserProfileLink($component['user_id'], SystemProduct::SYS_PRODUCT_YONGO, $component['first_name'], $component['last_name']);
                ?>
</td>
                <?php 
            } else {
                ?>
                    <span>No one</span>
                <?php 
            }
            ?>
            </tr>
            <?php 
            $subComponents = UbirimiContainer::get()['repository']->get(YongoProject::class)->getSubComponents($component['id']);
            $identationIndex++;
            if ($subComponents) {
                UbirimiContainer::get()['repository']->get(YongoProject::class)->renderTreeComponents($subComponents, $identationIndex);
            }
            $identationIndex--;
            ?>
        <?php 
        }
        ?>
 <?php 
    }