mirror of
https://code.sup39.dev/repos/Wqawg
synced 2025-03-20 04:46:22 +09:00
Provide AP representation of commits, and support committer field
This commit is contained in:
parent
50614359ab
commit
2c18660a3b
10 changed files with 238 additions and 44 deletions
templates/repo
|
@ -16,13 +16,22 @@ $# <http://creativecommons.org/publicdomain/zero/1.0/>.
|
|||
<tr>
|
||||
<td>By
|
||||
<td>
|
||||
$maybe sharer <- msharer
|
||||
$maybe sharer <- msharerWritten
|
||||
^{sharerLinkW sharer}
|
||||
$nothing
|
||||
#{patchAuthorName patch}
|
||||
#{authorName author}
|
||||
$maybe (committer, _) <- patchCommitted patch
|
||||
;
|
||||
$maybe sharer <- msharerCommitted
|
||||
^{sharerLinkW sharer}
|
||||
$nothing
|
||||
#{authorName committer}
|
||||
<tr>
|
||||
<td>At
|
||||
<td>#{showDate $ patchTime patch}
|
||||
<td>
|
||||
#{showDate written}
|
||||
$maybe (_, committed) <- patchCommitted patch
|
||||
; #{showDate committed}
|
||||
<tr>
|
||||
<td>Title
|
||||
<td>#{patchTitle patch}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue