kanban > steps : add dtl indicator
This commit is contained in:
parent
7038185e7f
commit
30fbc0e4e8
9 changed files with 222 additions and 156 deletions
|
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
function getProjectData($project) {
|
||||
return [
|
||||
$data = [
|
||||
"title" => $project->title()->value(),
|
||||
"url" => $project->url(),
|
||||
"uri" => "/" . $project->uri(),
|
||||
|
|
@ -12,7 +12,14 @@ function getProjectData($project) {
|
|||
"notifications" => Yaml::decode($project->notifications()->value),
|
||||
"uuid" => (string) $project->uuid(),
|
||||
"slug" => (string) $project->slug(),
|
||||
"isDTLEnabled" => (bool) $project->isDTLEnabled()->value() == "true"
|
||||
];
|
||||
|
||||
if ($project->isDTLEnabled()) {
|
||||
$data["designToLight"] = processDTLProposals($project);
|
||||
}
|
||||
|
||||
return $data;
|
||||
}
|
||||
|
||||
try {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue