On 06/17/2011 12:04 AM, Matt Wagner wrote:
Otherwise, a user must manually enter the URL for
/conductor/instances in order to find the key for the instance they just launched.
---
src/app/views/deployments/_pretty_view_show.haml | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/src/app/views/deployments/_pretty_view_show.haml
b/src/app/views/deployments/_pretty_view_show.haml
index 4cb9c13..9b4840e 100644
--- a/src/app/views/deployments/_pretty_view_show.haml
+++ b/src/app/views/deployments/_pretty_view_show.haml
@@ -14,4 +14,6 @@
%li
State:
= instance.state
-
+ - if instance.instance_key
+ %li
+ = link_to("Download key", key_instance_path(instance))
ACK. The key download link is there and does what it's supposed to.
In my testing, I couldn't connect to the running instance because there
was a problem with uploading that key to the instance, but that's not
part of this patch.
Thomas
--
No trees were killed to send this message, but a large number of
electrons were terribly inconvenienced.