Project

General

Profile

Feature #615 » _timelog.rhtml

David Petersen, 2008-02-07 19:30

 
<h3><%=l(:label_timelog_today)%></h3>
<%
@today = Date.today.to_s
entries = TimeEntry.find(:all,
:conditions => ['spent_on >= (?) AND spent_on <= (?) AND user_id IN (?)',
@today, @today, @user.id],
:include => [:activity, {:issue => [:tracker, :assigned_to, :priority]}],
:order => "spent_on ASC")
%>
<%= render :partial => 'timelog/list_simple', :locals => { :entries => entries } %>
(3-3/7)