Skip to content
This repository has been archived by the owner on Jan 8, 2024. It is now read-only.

Commit

Permalink
ui/project: add empty state for remote init case
Browse files Browse the repository at this point in the history
  • Loading branch information
jgwhite committed Aug 30, 2021
1 parent c0d8274 commit 4445558
Showing 1 changed file with 27 additions and 9 deletions.
36 changes: 27 additions & 9 deletions ui/app/templates/workspace/projects/project/apps.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -23,15 +23,33 @@
</LinkTo>
</Card>
{{else}}
<EmptyState>
<p>There are no applications in this project yet</p>
<p>To create your first application, run
<CopyableCode @ref="empty-init" @inline="true">
<code id="empty-init">waypoint init</code>
</CopyableCode>
from the CLI</p>
<p>For more help getting started, refer to the <ExternalLink href="https://waypointproject.io/docs/getting-started">Waypoint documentation</ExternalLink></p>
</EmptyState>
{{#if @model.dataSource.git.url}}
<EmptyState>
<p>
<Spinner @size="20" />
Initializing project from
<code class="code-block">{{@model.dataSource.git.url}}</code>
</p>
<p>
Initialization taking a long time? Try running
<CopyableCode @ref="empty-init" @inline="true">
<code id="empty-init">waypoint init</code>
</CopyableCode>
from the CLI
</p>
<p>For more help getting started, refer to the <ExternalLink href="https://waypointproject.io/docs/getting-started">Waypoint documentation</ExternalLink></p>
</EmptyState>
{{else}}
<EmptyState>
<p>There are no applications in this project yet</p>
<p>To create your first application, run
<CopyableCode @ref="empty-init" @inline="true">
<code id="empty-init">waypoint init</code>
</CopyableCode>
from the CLI</p>
<p>For more help getting started, refer to the <ExternalLink href="https://waypointproject.io/docs/getting-started">Waypoint documentation</ExternalLink></p>
</EmptyState>
{{/if}}
{{/each}}

{{outlet}}

0 comments on commit 4445558

Please sign in to comment.