mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-10-27 15:40:36 +08:00
Make timestamps --color-foreground
This commit is contained in:
@@ -389,9 +389,7 @@
|
||||
{utils.formatObjectId(revisionId)}
|
||||
</span>
|
||||
{/if}
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{utils.formatTimestamp(revisionTimestamp)}
|
||||
</span>
|
||||
{utils.formatTimestamp(revisionTimestamp)}
|
||||
<div style="display: flex; gap: 0.5rem; margin-left: auto;">
|
||||
{#if canEdit(revisionAuthor.id) && editRevision && revisionState === "read"}
|
||||
<IconButton
|
||||
|
||||
@@ -40,9 +40,7 @@
|
||||
</div>
|
||||
committed
|
||||
<slot />
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{formatTimestamp(header.committer.time)}
|
||||
</span>
|
||||
{formatTimestamp(header.committer.time)}
|
||||
{:else}
|
||||
<div class="person">
|
||||
<img class="avatar" alt="avatar" src={gravatarURL(header.author.email)} />
|
||||
@@ -58,8 +56,6 @@
|
||||
</div>
|
||||
committed
|
||||
<slot />
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{formatTimestamp(header.committer.time)}
|
||||
</span>
|
||||
{formatTimestamp(header.committer.time)}
|
||||
{/if}
|
||||
</span>
|
||||
|
||||
@@ -565,9 +565,7 @@
|
||||
<NodeId nodeId={issue.author.id} alias={issue.author.alias} />
|
||||
opened
|
||||
<span class="global-oid">{utils.formatObjectId(issue.id)}</span>
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{utils.formatTimestamp(issue.discussion[0].timestamp)}
|
||||
</span>
|
||||
{utils.formatTimestamp(issue.discussion[0].timestamp)}
|
||||
{#if lastDescriptionEdit}
|
||||
<div class="author-metadata">•</div>
|
||||
<div
|
||||
|
||||
@@ -128,9 +128,7 @@
|
||||
<NodeId nodeId={issue.author.id} alias={issue.author.alias} />
|
||||
opened
|
||||
<span class="global-oid">{formatObjectId(issue.id)}</span>
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{formatTimestamp(issue.discussion[0].timestamp)}
|
||||
</span>
|
||||
{formatTimestamp(issue.discussion[0].timestamp)}
|
||||
</div>
|
||||
</div>
|
||||
<div class="right">
|
||||
|
||||
@@ -736,9 +736,7 @@
|
||||
<NodeId nodeId={patch.author.id} alias={patch.author.alias} />
|
||||
opened
|
||||
<span class="global-oid">{utils.formatObjectId(patch.id)}</span>
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{utils.formatTimestamp(patch.revisions[0].timestamp)}
|
||||
</span>
|
||||
{utils.formatTimestamp(patch.revisions[0].timestamp)}
|
||||
</div>
|
||||
</CobHeader>
|
||||
|
||||
|
||||
@@ -161,9 +161,7 @@
|
||||
{formatObjectId(patch.revisions[patch.revisions.length - 1].id)}
|
||||
</span>
|
||||
{/if}
|
||||
<span style:color="var(--color-foreground-dim)">
|
||||
{formatTimestamp(latestRevision.timestamp)}
|
||||
</span>
|
||||
{formatTimestamp(latestRevision.timestamp)}
|
||||
</span>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user