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 | 12 | - @apps.each do |app| |
13 | 13 | %tr |
14 | 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 | 16 | %td.count |
17 | 17 | - if app.errs.any? |
18 | 18 | = link_to app.errs.unresolved.count, app_errs_path(app) |
... | ... | @@ -23,4 +23,4 @@ |
23 | 23 | %td{:colspan => 3} |
24 | 24 | %em |
25 | 25 | No apps here. |
26 | - = link_to 'Click here to create your first one', new_app_path | |
27 | 26 | \ No newline at end of file |
27 | + = link_to 'Click here to create your first one', new_app_path | ... | ... |