Mercurial > hg > soundsoftware-site
comparison app/views/timelog/.svn/text-base/index.api.rsb.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 | 8661b858af72 |
children |
comparison
equal
deleted
inserted
replaced
245:051f544170fe | 441:cbce1fd3b1b7 |
---|---|
1 api.array :time_entries do | 1 api.array :time_entries, api_meta(:total_count => @entry_count, :offset => @offset, :limit => @limit) do |
2 @entries.each do |time_entry| | 2 @entries.each do |time_entry| |
3 api.time_entry do | 3 api.time_entry do |
4 api.id time_entry.id | 4 api.id time_entry.id |
5 api.project(:id => time_entry.project_id, :name => time_entry.project.name) unless time_entry.project.nil? | 5 api.project(:id => time_entry.project_id, :name => time_entry.project.name) unless time_entry.project.nil? |
6 api.issue(:id => time_entry.issue_id) unless time_entry.issue.nil? | 6 api.issue(:id => time_entry.issue_id) unless time_entry.issue.nil? |