git.shiar.nl
/
minimedit.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
845c98a
)
issue: display assignments in overview
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 7 Nov 2019 05:13:53 +0000
(06:13 +0100)
committer
Mischa POSLAWSKY
<perl@shiar.org>
Sat, 9 Nov 2019 06:08:13 +0000
(07:08 +0100)
issue/index.php
patch
|
blob
|
history
diff --git
a/issue/index.php
b/issue/index.php
index 6e13b13c99e7a54c84524f404f3c7daa4849a174..419156f70c6ed0909b171223755d1caeb21eaa69 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-61,11
+61,12
@@
$query = $Db->query($sql, [$Page]);
ob_start();
print '<ul>';
while ($row = $query->fetch()) {
ob_start();
print '<ul>';
while ($row = $query->fetch()) {
- printf('<li><a href="%s">%s <small class="date">%s</small></a>',
+ printf('<li><a href="%s">%s <small class="date">%s</small>
%s
</a>',
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
"/$Page/{$row->id}/{$row->link}",
sprintf($row->closed ? '<strike>%s</strike>' : '%s',
htmlspecialchars($row->subject)),
- showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3))
+ showdate(array_slice(preg_split('/\D/', $row->updated), 0, 3)),
+ isset($row->assign) ? ' <em class="right">'.$row->assign.'</em>' : ''
);
print "</li>\n";
}
);
print "</li>\n";
}