From 13e491cda7bcfc7631fb6dfc29cfe251269747fe Mon Sep 17 00:00:00 2001 From: Brenda Wallace Date: Sun, 18 Sep 2016 18:33:28 +1200 Subject: [PATCH] harvest thumbnail title linking to the harvest itself --- app/views/harvests/_thumbnail.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/harvests/_thumbnail.html.haml b/app/views/harvests/_thumbnail.html.haml index 7c5ada9c4..9af6003c1 100644 --- a/app/views/harvests/_thumbnail.html.haml +++ b/app/views/harvests/_thumbnail.html.haml @@ -1,7 +1,7 @@ .panel.panel-success .panel-heading %h3.panel-title - = link_to "#{harvest.owner.login_name}'s harvest", harvest.owner + = link_to "#{harvest.owner.login_name}'s #{harvest.crop.name} harvest", harvest - if can? :edit, harvest %a.pull-right{:href => edit_harvest_path(harvest), :role => "button", :id => "edit_harvest_glyphicon"} %span.glyphicon.glyphicon-pencil{:title => "Edit"}