Commit d491de41 authored by utkarsh_33's avatar utkarsh_33 Committed by Chris Wells
Browse files

Issue #3310877 by Utkarsh_33, lostcarpark, bnjmnm, fjgarlin, rkoller, ressa,...

Issue #3310877 by Utkarsh_33, lostcarpark, bnjmnm, fjgarlin, rkoller, ressa, lucasbaralm, tim.plunkett, chrisfromredfin, leslieg: Consider adding "active installs" to Card view
parent e8dccfba
Loading
Loading
Loading
Loading
+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+0 −0

File changed.

Preview suppressed by a .gitattributes entry or the file's encoding is unsupported.

+21 −0
Changes for sveltejs/src/Project/Project.svelte: 21 added lines, 0 removed lines.
Original line number Diff line number Diff line
@@ -52,6 +52,15 @@
        {/if}
      </span>
    {/if}
    {#if toggleView === 'Grid' && project.project_usage_total !== -1}
      <div class="container">
        <span class="install-count"
          >{Drupal.t('@count installs ', {
            '@count': project.project_usage_total.toLocaleString(),
          })}</span
        >
      </div>
    {/if}
    {#if project.warnings && project.warnings.length > 0}
      {#each project.warnings as warning}
        <span>
@@ -200,6 +209,11 @@
    max-width: 100%;
    width: 3em;
  }
  .grid .image img {
    max-width: 100%;
    width: 3em;
  }

  .list .logo {
    grid-area: aside;
    padding: 2rem 2rem 2rem 0;
@@ -249,4 +263,11 @@
    margin-right: 0.5em;
    display: block;
  }
  .install-count {
    margin-left: 10px;
    font-size: 13px;
  }
  .text {
    font-size: 13px;
  }
</style>