Skip to content

Commit

Permalink
fix: misplaced docker pull message when container is ready to be created
Browse files Browse the repository at this point in the history
  • Loading branch information
Cornic Mathieu committed Feb 9, 2018
1 parent d8e6749 commit 3d792d2
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions public/modules/groups/views/view-container.client.view.html
Original file line number Diff line number Diff line change
Expand Up @@ -166,6 +166,12 @@ <h4>Commands</h4>
Yes, I want to delete this service from this group
<i class="fa fa-exclamation-triangle"></i>
</md-button>
<div ng-hide="container.containerId">
Execute the following command on daemon "{{container.daemon.name}}" to download the image:
<span>
<b>docker pull {{ container.image }}</b>
</span>
</div>

<div ng-show="container.containerId">

Expand Down Expand Up @@ -212,12 +218,6 @@ <h5 ng-if="authentication.isAdmin">Admin</h5>

</div>
</div>
<div ng-show="container.daemon.dockerStatusUp && !container.containerId"></div>
Execute the following command on daemon "{{container.daemon.name}}" to download the image:
<span>
<b>docker pull {{ container.image }}</b>
</span>
</div>

<h4>Ports</h4>

Expand Down

0 comments on commit 3d792d2

Please sign in to comment.