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:
23d1415
)
issue: resolve author logins to full names
author
Mischa POSLAWSKY
<perl@shiar.org>
Thu, 7 Nov 2019 05:13:34 +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 d07a7863af8a57528077c5de10233c5d70d7e61a..6e13b13c99e7a54c84524f404f3c7daa4849a174 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-14,9
+14,10
@@
if ($id) {
$Article->title .= ': '.htmlspecialchars($Issue->subject);
print "<h2>{$Article->title}</h2>\n";
print $Issue->body;
$Article->title .= ': '.htmlspecialchars($Issue->subject);
print "<h2>{$Article->title}</h2>\n";
print $Issue->body;
+ $author = $Issue->author ? new User('profile/'.$Issue->author, FALSE) : NULL;
printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
'Geplaatst',
printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
'Geplaatst',
- $
Issue->author ? " door <strong>{$Issue->author
}</strong>" : '',
+ $
author ? " door <strong>{$author->name
}</strong>" : '',
showdate(preg_split('/\D/', $Issue->created))
);
if ($Issue->assign) {
showdate(preg_split('/\D/', $Issue->created))
);
if ($Issue->assign) {