Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- "<?php echo __("Project"); ?>","<?php echo __("Issue number"); ?>","<?php echo __("Issue title"); ?>","<?php echo __("Reported by"); ?>","<?php echo __("Assigned to"); ?>","<?php echo __("Status"); ?>","<?php echo __('Category'); ?>","<?php echo __('Priority'); ?>","<?php echo __('Reproducability'); ?>","<?php echo __('Severity'); ?>","<?php echo __("Resolution"); ?>","<?php echo __('Targetted for'); ?>","<?php echo __("Last updated"); ?>","<?php echo __("Percentage complete"); ?>","<?php echo __("Time estimated");?>","<?php echo __("Time spent"); ?>","<?php echo __("User pain"); ?>","<?php echo __("Votes"); ?>","textolalala"
- <?php if ($issues != false): ?>
- <?php foreach ($issues as $issue): ?>
- <?php
- /* Deal with issuecreator */
- $temp = $issue->getPostedBy();
- if ($temp instanceof TBGUser && !($temp->isDeleted()))
- {
- $creat = $temp->getBuddyname();
- }
- elseif ($temp instanceof TBGTeam) {
- $creat = $temp->getName();
- }
- else
- {
- $creat = '-';
- }
- /* Deal with issue assignee */
- $temp = $issue->getAssignee();
- if ($temp instanceof TBGUser && !($temp->isDeleted()))
- {
- $assignee = $temp->getBuddyname();
- }
- elseif ($temp instanceof TBGTeam) {
- $assignee = $temp->getName();
- }
- else
- {
- $assignee = '-';
- }
- /* Deal with issue status */
- $temp = $issue->getStatus();
- if ($temp instanceof TBGStatus)
- {
- $status = $temp->getName();
- }
- else
- {
- $status = '-';
- }
- /* Deal with issue priority */
- $temp = $issue->getPriority();
- if ($temp instanceof TBGPriority)
- {
- $priority = $temp->getName();
- }
- else
- {
- $priority = '-';
- }
- /* Deal with issue resolution */
- $temp = $issue->getResolution();
- if ($temp instanceof TBGResolution)
- {
- $resolution = $temp->getName();
- }
- else
- {
- $resolution = '-';
- }
- /* Deal with issue category */
- $temp = $issue->getCategory();
- if ($temp instanceof TBGCategory)
- {
- $category = $temp->getName();
- }
- else
- {
- $category = '-';
- }
- /* Deal with issue reproducability */
- $temp = $issue->getReproducability();
- if ($temp instanceof TBGReproducability)
- {
- $reproducability = $temp->getName();
- }
- else
- {
- $reproducability = '-';
- }
- /* Deal with issue severity */
- $temp = $issue->getSeverity();
- if ($temp instanceof TBGSeverity)
- {
- $severity = $temp->getName();
- }
- else
- {
- $severity = '-';
- }
- /* Deal with issue milestone */
- $temp = $issue->getMilestone();
- if ($temp instanceof TBGMilestone)
- {
- $milestone = $temp->getName();
- }
- else
- {
- $milestone = '-';
- }
- $value1 = $issue->getcustomField('textolalala');
- unset($temp);
- $percent = $issue->getPercentCompleted().'%';
- ?>
- "<?php echo html_entity_decode($issue->getProject()->getName()); ?>","<?php echo html_entity_decode($issue->getFormattedIssueNo()); ?>","<?php echo html_entity_decode(strip_tags($issue->getTitle())); ?>","<?php echo html_entity_decode($creat); ?>","<?php echo html_entity_decode($assignee); ?>","<?php echo html_entity_decode($status); ?>","<?php echo html_entity_decode($category); ?>","<?php echo html_entity_decode($priority); ?>","<?php echo html_entity_decode($reproducability); ?>","<?php echo html_entity_decode($severity); ?>","<?php echo html_entity_decode($resolution); ?>","<?php echo html_entity_decode($milestone); ?>","<?php echo tbg_formatTime($issue->getLastUpdatedTime(), 21); ?>","<?php echo $percent; ?>","<?php echo $issue->getFormattedTime($issue->getEstimatedTime()); ?>","<?php echo $issue->getFormattedTime($issue->getSpentTime());?>","<?php echo $issue->getUserpain(); ?>","<?php echo $issue->getVotes(); ?>","<?php echo $value1; ?>"
- <?php endforeach; ?>
- <?php endif; ?>
Add Comment
Please, Sign In to add comment