Commit d5995c47ea9b935f5eff43abaad7b94484f531a3
Committed by
Nick Recobra
1 parent
c3043666
Exists in
master
and in
1 other branch
Add link from the application page to the deploys
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
app/views/apps/index.html.haml
@@ -12,7 +12,7 @@ | @@ -12,7 +12,7 @@ | ||
12 | - @apps.each do |app| | 12 | - @apps.each do |app| |
13 | %tr | 13 | %tr |
14 | %td.name= link_to app.name, app_path(app) | 14 | %td.name= link_to app.name, app_path(app) |
15 | - %td.deploy= app.last_deploy_at ? app.last_deploy_at.to_s(:micro) : 'n/a' | 15 | + %td.deploy= app.last_deploy_at ? link_to( app.last_deploy_at.to_s(:micro), app_deploys_path(app)) : 'n/a' |
16 | %td.count | 16 | %td.count |
17 | - if app.errs.any? | 17 | - if app.errs.any? |
18 | = link_to app.errs.unresolved.count, app_errs_path(app) | 18 | = link_to app.errs.unresolved.count, app_errs_path(app) |
@@ -23,4 +23,4 @@ | @@ -23,4 +23,4 @@ | ||
23 | %td{:colspan => 3} | 23 | %td{:colspan => 3} |
24 | %em | 24 | %em |
25 | No apps here. | 25 | No apps here. |
26 | - = link_to 'Click here to create your first one', new_app_path | ||
27 | \ No newline at end of file | 26 | \ No newline at end of file |
27 | + = link_to 'Click here to create your first one', new_app_path |