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:
c824b14
)
issue: display ticket creation date
author
Mischa POSLAWSKY
<perl@shiar.org>
Sun, 20 Oct 2019 04:16:49 +0000
(06:16 +0200)
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 2c50624f9a7fc1cbc7fae406ce4fb65f76eea1a6..6b1c3dc53b7fe5aad589b91afb27820be36864b8 100644
(file)
--- a/
issue/index.php
+++ b/
issue/index.php
@@
-14,9
+14,15
@@
if ($id) {
$Article->title .= ': '.htmlspecialchars($row->subject);
print "<h2>{$Article->title}</h2>\n";
print $row->body;
$Article->title .= ': '.htmlspecialchars($row->subject);
print "<h2>{$Article->title}</h2>\n";
print $row->body;
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Geplaatst',
+ $row->author ? " door <strong>{$row->author}</strong>" : '',
+ showdate(preg_split('/\D/', $row->created))
+ );
if ($row->closed) {
if ($row->closed) {
- printf('<p><strong>%s</strong> <small class=date>%s</small></p>'."\n",
- 'Opgelost', showdate(preg_split('/\D/', $row->closed))
+ printf('<p><em>%s</em>%s <small class=date>%s</small></p>'."\n",
+ 'Opgelost', '',
+ showdate(preg_split('/\D/', $row->closed))
);
}
$Args = "/$id"; # minimal reference
);
}
$Args = "/$id"; # minimal reference