Radish alpha
r
Radicle web interface
Radicle
Git (anonymous pull)
Log in to clone via SSH
Show maintainers in project view
Alexis Sellier committed 4 years ago
commit e0fcf261d1a57fcf4c8c8d449b80f5001c45441e
parent a460b9352ec1d22cffbb86b56ac56ce09dc603dc
1 file changed +16 -0
modified src/base/projects/View.svelte
@@ -4,6 +4,7 @@
  import * as proj from '@app/project';
  import Loading from '@app/Loading.svelte';
  import Modal from '@app/Modal.svelte';
+
  import Blockies from '@app/Blockies.svelte';

  import Browser from './Browser.svelte';

@@ -33,6 +34,9 @@
  .title {
    font-size: 2.25rem;
    margin-bottom: 0.5rem;
+
    display: flex;
+
    justify-content: space-between;
+
    align-items: center;
  }
  .urn {
    font-family: var(--font-family-monospace);
@@ -42,6 +46,11 @@
  .description {
    margin: 1rem 0 1.5rem 0;
  }
+
  .maintainer {
+
    display: inline-block;
+
    width: 1rem;
+
    height: 1rem;
+
  }
</style>

<main>
@@ -53,6 +62,13 @@
    <header>
      <div class="title bold">
        <Link to={projectRoot}>{project.meta.name}</Link>
+
        <span class="maintainers">
+
          {#each project.meta.maintainers as user}
+
            <span class="maintainer">
+
              <Blockies address={user} />
+
            </span>
+
          {/each}
+
        </span>
      </div>
      <div class="urn">{urn}</div>
      <div class="description">{project.meta.description}</div>