backlog 0.17.2 → 0.17.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +8 -0
- data/app/views/tasks/list_started.rhtml +4 -4
- data/config/routes.rb +1 -1
- data/test/functional/estimates_controller_test.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -36,7 +36,7 @@ function handleEvent(field, event, id) {
|
|
36
36
|
</script>
|
37
37
|
|
38
38
|
<% if @tasks %>
|
39
|
-
<
|
39
|
+
<ul class="task_list">
|
40
40
|
<% i = 0 %>
|
41
41
|
<% current_backlog = nil %>
|
42
42
|
<% current_period = nil %>
|
@@ -46,15 +46,15 @@ function handleEvent(field, event, id) {
|
|
46
46
|
<% current_backlog = task.backlog %>
|
47
47
|
<% end %>
|
48
48
|
<% if task.period != current_period %>
|
49
|
-
|
50
|
-
<%=
|
49
|
+
<%=render :partial => '/tasks/period_header', :locals => {:period => task.period} %>
|
50
|
+
<%=render :partial => '/tasks/fields_header', :locals => {:backlog => task.root_task.backlog, :active => true, :track_times => @tasks.find {|t|t.period && t.period.active?}} %>
|
51
51
|
<% current_period = task.period %>
|
52
52
|
<% end %>
|
53
53
|
<%=render :partial => 'task', :locals => { :task => task, :i => i, :active => true, :highlight_task => (task == @selected_task), :update => :spotlight, :hidden => false } %>
|
54
54
|
<% i += 1 %>
|
55
55
|
<% end %>
|
56
56
|
|
57
|
-
</
|
57
|
+
</ul>
|
58
58
|
<% else %>
|
59
59
|
<%=l :no_pending_tasks%>
|
60
60
|
<% end %>
|
data/config/routes.rb
CHANGED
@@ -32,7 +32,7 @@ class EstimatesControllerTest < Test::Unit::TestCase
|
|
32
32
|
"estimate"=>{"todo"=>"0"}
|
33
33
|
|
34
34
|
assert_response :redirect
|
35
|
-
assert_redirected_to :controller => '
|
35
|
+
assert_redirected_to :controller => 'welcome', :action => :index
|
36
36
|
|
37
37
|
assert_equal count_before, Estimate.count
|
38
38
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: backlog
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.17.
|
4
|
+
version: 0.17.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Uwe Kubosch
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2008-01-
|
12
|
+
date: 2008-01-11 00:00:00 +01:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|