Skip to content

Commit

Permalink
Improved layout of change statuses.
Browse files Browse the repository at this point in the history
  • Loading branch information
amyjko committed Dec 15, 2024
1 parent 1d629ac commit 353a02e
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions src/lib/Changes.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -145,13 +145,16 @@
<td class="info">
<ChangeLink id={change.id} />
<div class="update">
{#if comment}<em>{org.getProfileWithPersonID(comment.who)?.name}</em>
<TimeView time={false} date={timestampToDate(comment.when)} />
<MarkupView small markup={comment.what.split('\n\n')[0]} placeholder="status"
></MarkupView><Button
{#if comment}<Button
tip="Add comment to change"
action={() => (submittingComment = change)}>+</Button
>
><em>{org.getProfileWithPersonID(comment.who)?.name}</em>
<TimeView time={false} date={timestampToDate(comment.when)} />
<MarkupView
small
markup={`${comment.what.split('\n\n')[0].substring(0, 100)}...`}
placeholder="status"
></MarkupView>
{/if}
</div>
</td>
Expand Down

0 comments on commit 353a02e

Please sign in to comment.