Skip to content

Commit 2923b37

Browse files
committed
display locked points in point:list
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 67c56b8 commit 2923b37

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Command/PointList.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,8 @@ protected function execute(InputInterface $input, OutputInterface $output): int
161161

162162
$table->appendRow(
163163
[
164-
(($point->isArchive()) ? 'A ' : ' ') . (($fresh) ? $displayPointId : ''),
164+
'<comment>' . (($point->isLocked()) ? 'L' : '') .
165+
(($point->isArchive()) ? 'A' : '') . '</comment> ' . (($fresh) ? $displayPointId : ''),
165166
($fresh) ? date('Y-m-d H:i:s', $point->getDate()) : '',
166167
($fresh) ? $point->getParent() : '',
167168
$comment,

0 commit comments

Comments
 (0)