From 444555898561b003a2522222878f23534dabd1be Mon Sep 17 00:00:00 2001 From: Jamie White Date: Sat, 28 Aug 2021 00:17:19 +0200 Subject: [PATCH] ui/project: add empty state for remote init case --- .../workspace/projects/project/apps.hbs | 36 ++++++++++++++----- 1 file changed, 27 insertions(+), 9 deletions(-) diff --git a/ui/app/templates/workspace/projects/project/apps.hbs b/ui/app/templates/workspace/projects/project/apps.hbs index 2cfc75665a7..096006adbe4 100644 --- a/ui/app/templates/workspace/projects/project/apps.hbs +++ b/ui/app/templates/workspace/projects/project/apps.hbs @@ -23,15 +23,33 @@ {{else}} - -

There are no applications in this project yet

-

To create your first application, run - - waypoint init - - from the CLI

-

For more help getting started, refer to the Waypoint documentation

-
+ {{#if @model.dataSource.git.url}} + +

+ + Initializing project from + {{@model.dataSource.git.url}} +

+

+ Initialization taking a long time? Try running + + waypoint init + + from the CLI +

+

For more help getting started, refer to the Waypoint documentation

+
+ {{else}} + +

There are no applications in this project yet

+

To create your first application, run + + waypoint init + + from the CLI

+

For more help getting started, refer to the Waypoint documentation

+
+ {{/if}} {{/each}} {{outlet}}