Skip to content

Commit 83247c2

Browse files
committed
feat(core): add status label on list
1 parent ed32016 commit 83247c2

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

inc/issue.class.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -495,11 +495,12 @@ public static function giveItem($itemtype, $option_id, $data, $num) {
495495
switch ($data['raw']['sub_itemtype']) {
496496
case 'Ticket':
497497
$status = Ticket::getStatus($data['raw']["ITEM_$num"]);
498-
return Ticket::getStatusIcon($data['raw']["ITEM_$num"]);
498+
return Ticket::getStatusIcon($data['raw']["ITEM_$num"])." ".$status;
499499
break;
500500

501501
case 'PluginFormcreatorForm_Answer':
502-
return PluginFormcreatorForm_Answer::getSpecificValueToDisplay('status', $data['raw']["ITEM_$num"]);
502+
return PluginFormcreatorForm_Answer::getSpecificValueToDisplay('status', $data['raw']["ITEM_$num"])
503+
." ".__($data['raw']["ITEM_$num"], 'formcreator');
503504
break;
504505
}
505506
break;

0 commit comments

Comments
 (0)