backlog 0.14.3 → 0.14.4
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +11 -0
- data/app/controllers/tasks_controller.rb +4 -0
- data/app/helpers/backlogs_helper.rb +1 -1
- data/app/views/tasks/_completed.rhtml +3 -3
- data/app/views/tasks/update_estimate.rjs +1 -0
- data/app/views/works/update_time.rjs +1 -0
- data/test/functional/backlogs_controller_test.rb +8 -0
- metadata +2 -2
data/History.txt
CHANGED
@@ -1,3 +1,14 @@
|
|
1
|
+
== 0.14.4 2007-11-27
|
2
|
+
|
3
|
+
=== Features
|
4
|
+
|
5
|
+
* Added highlight of field when updating start time or estimate in show period view to indicate that the field was updated.
|
6
|
+
|
7
|
+
=== Fixes
|
8
|
+
|
9
|
+
* Fixed estimate update for started tasks.
|
10
|
+
* Fixed display of finished and reopened tasks in backlogs view for the first/last unplanned task.
|
11
|
+
|
1
12
|
== 0.14.3 2007-11-20
|
2
13
|
|
3
14
|
=== Features
|
@@ -19,7 +19,7 @@ module BacklogsHelper
|
|
19
19
|
page.select("#completed_tasks_#{@task.period_id} tr").first.remove
|
20
20
|
page.select("#completed_tasks_#{@task.period_id} tr").first.remove
|
21
21
|
else
|
22
|
-
page.insert_html :top, "completed_tasks", "<table id=\"completed_tasks_#{@task.
|
22
|
+
page.insert_html :top, "completed_tasks", "<table id=\"completed_tasks_#{@task.period_id}\" class=\"input\" />"
|
23
23
|
end
|
24
24
|
|
25
25
|
page.insert_html :top, "completed_tasks_#{@task.period_id}", :partial => '/tasks/task', :locals => {:active => false, :hidden => true, :highlight_task => false}
|
@@ -1,8 +1,8 @@
|
|
1
1
|
<div id="completed_tasks">
|
2
2
|
<% @completed_tasks.map {|t| t.period}.uniq.each do |period| %>
|
3
|
-
<table id="completed_tasks_<%=period ? period.id : '
|
4
|
-
<%=
|
5
|
-
<%=
|
3
|
+
<table id="completed_tasks_<%=period ? period.id : ''%>" class="input">
|
4
|
+
<%=render :partial => '/tasks/period_header', :locals => {:period => period} unless @completed_tasks.map(&:period).uniq.size == 1 %>
|
5
|
+
<%=render :partial => '/tasks/fields_header', :locals => {:backlog => @backlog, :active => false, :track_times => false} %>
|
6
6
|
<% @completed_tasks.select {|t| t.period == period}.each do |task| %>
|
7
7
|
<%=render :partial => '/tasks/task', :locals => { :task => task, :i => i, :active => false, :highlight_task => task == @selected_task, :hidden => false } %>
|
8
8
|
<% i += 1 %>
|
@@ -123,6 +123,14 @@ class BacklogsControllerTest < Test::Unit::TestCase
|
|
123
123
|
assert_equal Task::COMPLETED, after.resolution
|
124
124
|
end
|
125
125
|
|
126
|
+
def test_finish_task_without_period
|
127
|
+
post :finish_task, :id => tasks(:not_planned).id
|
128
|
+
|
129
|
+
after = Task.find(tasks(:not_planned).id)
|
130
|
+
assert_not_nil after.finished_at
|
131
|
+
assert_equal Task::COMPLETED, after.resolution
|
132
|
+
end
|
133
|
+
|
126
134
|
def test_reopen_task
|
127
135
|
post :reopen_task, :id => tasks(:completed).id
|
128
136
|
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: backlog
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.14.
|
7
|
-
date: 2007-11-
|
6
|
+
version: 0.14.4
|
7
|
+
date: 2007-11-27 00:00:00 +01:00
|
8
8
|
summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
|
9
9
|
require_paths:
|
10
10
|
- lib
|