Mercurial > hg > soundsoftware-site
diff app/views/projects/.svn/text-base/show.rhtml.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 94944d00e43c |
children |
line wrap: on
line diff
--- a/app/views/projects/.svn/text-base/show.rhtml.svn-base Thu Mar 03 11:42:28 2011 +0000 +++ b/app/views/projects/.svn/text-base/show.rhtml.svn-base Mon Jun 06 14:24:13 2011 +0100 @@ -64,7 +64,7 @@ </div> <% content_for :sidebar do %> - <% if @total_hours && User.current.allowed_to?(:view_time_entries, @project) %> + <% if @total_hours.present? %> <h3><%= l(:label_spent_time) %></h3> <p><span class="icon icon-time"><%= l_hours(@total_hours) %></span></p> <p><%= link_to(l(:label_details), {:controller => 'timelog', :action => 'index', :project_id => @project}) %> |