Feature #615 » _timelog.rhtml
1 |
<h3><%=l(:label_timelog_today)%></h3> |
---|---|
2 |
<%
|
3 |
@today = Date.today.to_s |
4 |
entries = TimeEntry.find(:all, |
5 |
:conditions => ['spent_on >= (?) AND spent_on <= (?) AND user_id IN (?)', |
6 |
@today, @today, @user.id], |
7 |
:include => [:activity, {:issue => [:tracker, :assigned_to, :priority]}], |
8 |
:order => "spent_on ASC") |
9 |
%>
|
10 |
<%= render :partial => 'timelog/list_simple', :locals => { :entries => entries } %> |