- print $row->body;
- if ($row->closed) {
- printf('<p><strong>%s</strong> <small class=date>%s</small></p>'."\n",
- 'Opgelost', showdate(preg_split('/\D/', $row->closed))
+ $author = $Issue->author ? new User('profile/'.$Issue->author, FALSE) : NULL;
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Geplaatst',
+ $author ? " door <strong>{$author->name}</strong>" : '',
+ showdate(preg_split('/\D/', $Issue->created))
+ );
+ if ($Issue->assign) {
+ printf('<p><em>%s</em> aan <strong>%s</strong></p>'."\n",
+ 'Toegewezen', htmlspecialchars($Issue->assign)
+ );
+ }
+ if ($Issue->closed) {
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Opgelost', '',
+ showdate(preg_split('/\D/', $Issue->closed))