From d5995c47ea9b935f5eff43abaad7b94484f531a3 Mon Sep 17 00:00:00 2001 From: Chris Cooke Date: Tue, 21 Dec 2010 16:33:27 +0000 Subject: [PATCH] Add link from the application page to the deploys --- app/views/apps/index.html.haml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/views/apps/index.html.haml b/app/views/apps/index.html.haml index 3916553..c636d81 100644 --- a/app/views/apps/index.html.haml +++ b/app/views/apps/index.html.haml @@ -12,7 +12,7 @@ - @apps.each do |app| %tr %td.name= link_to app.name, app_path(app) - %td.deploy= app.last_deploy_at ? app.last_deploy_at.to_s(:micro) : 'n/a' + %td.deploy= app.last_deploy_at ? link_to( app.last_deploy_at.to_s(:micro), app_deploys_path(app)) : 'n/a' %td.count - if app.errs.any? = link_to app.errs.unresolved.count, app_errs_path(app) @@ -23,4 +23,4 @@ %td{:colspan => 3} %em No apps here. - = link_to 'Click here to create your first one', new_app_path \ No newline at end of file + = link_to 'Click here to create your first one', new_app_path -- libgit2 0.21.2