From eb8d640fbf4c8e647af7cb79641321d4c8216c0e Mon Sep 17 00:00:00 2001 From: Hagen Schink Date: Thu, 21 Aug 2014 09:11:09 +0200 Subject: [PATCH] Add type information to 'log costs' link --- lib/open_project/costs/engine.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/open_project/costs/engine.rb b/lib/open_project/costs/engine.rb index 394710d9e3..ca808d35f4 100644 --- a/lib/open_project/costs/engine.rb +++ b/lib/open_project/costs/engine.rb @@ -111,6 +111,7 @@ module OpenProject::Costs link :log_costs do { href: new_work_packages_cost_entry_path(represented.model), + type: 'text/html', title: "Log costs on #{represented.subject}" } if current_user_allowed_to(:log_costs, represented.model) end