backlog 0.17.2 → 0.17.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,11 @@
1
+ == 0.17.3 2008-01-09
2
+
3
+ === Fixes
4
+
5
+ * Fixed wrong redirect at startup.
6
+ * Fixed ugly listing of started tasks.
7
+
8
+
1
9
  == 0.17.2 2008-01-07
2
10
 
3
11
  === Fixes
@@ -36,7 +36,7 @@ function handleEvent(field, event, id) {
36
36
  </script>
37
37
 
38
38
  <% if @tasks %>
39
- <table class="input">
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
- <tr><th colspan="6"><%=task.period ? h(task.period.name) : l(:unplanned_tasks)%></th></tr>
50
- <%= render :partial => '/tasks/fields_header', :locals => {:backlog => task.root_task.backlog, :active => true, :track_times => @tasks.find {|t|t.period && t.period.active?}} %>
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
- </table>
57
+ </ul>
58
58
  <% else %>
59
59
  <%=l :no_pending_tasks%>
60
60
  <% end %>
@@ -1,5 +1,5 @@
1
1
  ActionController::Routing::Routes.draw do |map|
2
- map.connect '', :controller => "backlogs"
2
+ map.connect '', :controller => "welcome"
3
3
  map.connect ':controller/:action/:id.:format'
4
4
  map.connect ':controller/:action/:id'
5
5
  end
@@ -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 => 'backlogs', :action => :index
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.2
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-07 00:00:00 +01:00
12
+ date: 2008-01-11 00:00:00 +01:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency