Show the correct OID for revisions and tweak wording

This commit is contained in:
Rūdolfs Ošiņš
2025-01-23 15:38:02 -06:00
parent 08e32580f9
commit 2a7c705e3c
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -118,7 +118,7 @@
</div>
<div class="wrapper">
<NodeId {...authorForNodeId(op.author)} />
<div>created a new revision <Id id={op.id} variant="oid" /></div>
<div>created revision <Id id={op.id} variant="oid" /></div>
<div title={absoluteTimestamp(op.timestamp)}>
{formatTimestamp(op.timestamp)}
</div>
+2 -2
View File
@@ -254,9 +254,9 @@
<div class="txt-small patch-body">
<CommentComponent
caption="opened"
caption={revision.id === patchId ? "opened patch" : "created revision"}
{rid}
id={patchId}
id={revision.id}
lastEdit={revision.description.length > 1
? revision.description.at(-1)
: undefined}