From 55a3a4dbcec4a604937754750add3085abfba103 Mon Sep 17 00:00:00 2001 From: Eric Davis Date: Mon, 26 Jan 2009 14:25:21 -0800 Subject: [PATCH] Display if the rate row is the default rate. #2031 --- app/views/rates/_list.html.erb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/app/views/rates/_list.html.erb b/app/views/rates/_list.html.erb index 5fdaa3c..ad1f56d 100644 --- a/app/views/rates/_list.html.erb +++ b/app/views/rates/_list.html.erb @@ -21,7 +21,11 @@ <%= h format_date(rate.date_in_effect) %> + <% if rate.project %> <%= link_to(h(rate.project), :controller => 'projects', :action => 'show', :id => rate.project) %> + <% else %> + <%= l(:rate_label_default) %> + <% end %> <%= h rate.amount %>