mirror of
https://seed.radicle.dev/rad:z4V1sjrXqjvFdnCUbxPFqd5p4DtH5.git
synced 2026-11-16 11:50:42 +08:00
Show a placeholder when there is no commit message
This commit is contained in:
@@ -86,7 +86,11 @@
|
||||
<div class="left" style:padding={flush ? "0" : undefined}>
|
||||
<div class="message">
|
||||
<div style:cursor={hoverable ? "pointer" : "default"} use:twemoji>
|
||||
<InlineTitle fontSize="small" content={commit.summary} />
|
||||
{#if !commit.summary}
|
||||
<span class="txt-missing">No commit message</span>
|
||||
{:else}
|
||||
<InlineTitle fontSize="small" content={commit.summary} />
|
||||
{/if}
|
||||
</div>
|
||||
{#if commit.message.trim() !== commit.summary.trim()}
|
||||
<div class="commit-expand-button">
|
||||
|
||||
@@ -176,7 +176,13 @@
|
||||
<section class="meta">
|
||||
<div class="meta-header">
|
||||
<div class="meta-title">
|
||||
<div class="summary txt-selectable">{commit.summary}</div>
|
||||
<div class="summary txt-selectable">
|
||||
{#if !commit.summary}
|
||||
<span class="txt-missing">No commit message</span>
|
||||
{:else}
|
||||
{commit.summary}
|
||||
{/if}
|
||||
</div>
|
||||
<div class="summary-meta">
|
||||
<span class="summary-author">
|
||||
<img
|
||||
|
||||
Reference in New Issue
Block a user