Page MenuHomePhabricator

D15243.id.diff
No OneTemporary

D15243.id.diff

diff --git a/src/applications/project/view/ProjectBoardTaskCard.php b/src/applications/project/view/ProjectBoardTaskCard.php
--- a/src/applications/project/view/ProjectBoardTaskCard.php
+++ b/src/applications/project/view/ProjectBoardTaskCard.php
@@ -95,6 +95,17 @@
$card->setCoverImage($cover_file->getBestURI());
}
+ if (ManiphestTaskPoints::getIsEnabled()) {
+ $points = $task->getPoints();
+ if ($points !== null) {
+ $points_tag = id(new PHUITagView())
+ ->setType(PHUITagView::TYPE_SHADE)
+ ->setShade(PHUITagView::COLOR_BLUE)
+ ->setName($points);
+ $card->addAttribute($points_tag);
+ }
+ }
+
if ($task->isClosed()) {
$icon = ManiphestTaskStatus::getStatusIcon($task->getStatus());
$icon = id(new PHUIIconView())

File Metadata

Mime Type
text/plain
Expires
Mon, Mar 17, 10:29 AM (2 w, 4 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7386174
Default Alt Text
D15243.id.diff (817 B)

Event Timeline