Add Heartwood translation layer for file diffs

Co-authored-by: xphoniex <dj.2dixx@gmail.com>
Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
This commit is contained in:
Rūdolfs Ošiņš
2022-12-29 09:58:59 +01:00
co-authored by xphoniex
parent ca10a69ee5
commit 4bb34023c2
8 changed files with 69 additions and 34 deletions
@@ -118,8 +118,8 @@
<header class="file-header" on:click={collapse}>
<div class="actions">
<p class="txt-regular">{file.path}</p>
{#if mode === "created"}
<Badge variant="positive">created</Badge>
{#if mode === "added"}
<Badge variant="positive">added</Badge>
{:else if mode === "deleted"}
<Badge variant="negative">deleted</Badge>
{/if}