Permalink
Browse files

Include link to the deployment on the index page.

  • Loading branch information...
Kami committed Dec 21, 2011
1 parent cb8a299 commit 2e5abd63036faeb8a643c9825cdd5b7b86bd19ff
Showing with 3 additions and 3 deletions.
  1. +3 −3 lib/web/views/stacks.jade
@@ -28,8 +28,8 @@ block content
span.label No deployments yet
- else
- if (!region.latest_deployment.finished)
- span.label Deployment \##{region.latest_deployment.name} in progress
+ span.label a(href='/stacks/#{stack.name}/regions/#{region.name}/deployments/#{region.latest_deployment.name}') Deployment \##{region.latest_deployment.name} in progress
- else if (region.latest_deployment.success)
- span.label.success Deployment \##{region.latest_deployment.name} succeeded
+ span.label.success a(href='/stacks/#{stack.name}/regions/#{region.name}/deployments/#{region.latest_deployment.name}') Deployment \##{region.latest_deployment.name} succeeded
- else
- span.label.important Deployment \##{region.latest_deployment.name} failed
+ span.label.important a(href='/stacks/#{stack.name}/regions/#{region.name}/deployments/#{region.latest_deployment.name}') Deployment \##{region.latest_deployment.name} failed

0 comments on commit 2e5abd6

Please sign in to comment.