Files
radicle-explorer/src/views/projects
Rūdolfs Ošiņš 34f40fba02 Adjust action wording to show only latest action in patch list
It will show either "Opened x days ago" or "Updated x days ago"
depending whether there is one or multiple revisions.

Signed-off-by: Rūdolfs Ošiņš <rudolfs@osins.org>
2023-05-12 07:59:54 +02:00
..
2023-04-27 15:54:53 +02:00
2023-05-11 10:51:35 +02:00
2023-05-11 10:51:35 +02:00
2023-04-27 15:54:53 +02:00
2023-05-11 10:51:35 +02:00
2023-05-11 10:51:35 +02:00
2023-05-11 10:51:35 +02:00
2023-04-27 15:54:53 +02:00
2023-05-11 10:51:35 +02:00

<script lang="ts">
  import type { ProjectRoute } from "@app/views/projects/router";

  import Markdown from "@app/components/Markdown.svelte";

  export let content: string;
  export let rawPath: string;
  export let activeRoute: ProjectRoute;

  $: path = activeRoute.params.path || "/";
  $: hash = activeRoute.params.hash || null;
</script>

<style>
  article {
    padding: 2rem;
    width: 100%;
    background: var(--color-background-1);
    border-bottom-left-radius: var(--border-radius-small);
    border-bottom-right-radius: var(--border-radius-small);
  }
</style>

<article>
  <Markdown {content} {hash} {rawPath} {path} />
</article>