backlog 0.15.0 → 0.15.1
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 +10 -0
- data/app/controllers/tasks_controller.rb +1 -1
- data/app/models/task.rb +4 -0
- data/app/views/tasks/_task.rhtml +1 -1
- data/cruise_config.rb +1 -1
- metadata +2 -2
data/History.txt
CHANGED
@@ -191,7 +191,7 @@ class TasksController < ApplicationController
|
|
191
191
|
else
|
192
192
|
flash[:notice] = "Task not found"
|
193
193
|
end
|
194
|
-
|
194
|
+
redirect_to :controller => 'periods', :action => :show_no_layout, :id => task.period_id, :task => task.id
|
195
195
|
end
|
196
196
|
|
197
197
|
def start_work
|
data/app/models/task.rb
CHANGED
@@ -377,6 +377,10 @@ class Task < ActiveRecord::Base
|
|
377
377
|
started_works.select {|work| work.user.nil?}.last
|
378
378
|
end
|
379
379
|
|
380
|
+
def description_with_id
|
381
|
+
"##{id}: #{description}"
|
382
|
+
end
|
383
|
+
|
380
384
|
def description_with_parents
|
381
385
|
if parent.nil?
|
382
386
|
"#{backlog.name}: #{description}"
|
data/app/views/tasks/_task.rhtml
CHANGED
@@ -15,7 +15,7 @@
|
|
15
15
|
</td>
|
16
16
|
<td>
|
17
17
|
<div id="task_<%=@task.id%>_description"<%=' class="tasks" onmouseover="this.style.border=\'1px solid black\'" onmouseout="this.style.border=\'1px solid transparent\'"' if active && (@task.period.nil? || @task.period.active_or_future?) && (not @task.work_started?) %>>
|
18
|
-
<%=detour_to h(@task.
|
18
|
+
<%=detour_to h(@task.description_with_id), :controller => 'tasks', :action => :edit, :id => @task.id if @task.position || @task.depth == 0 %>
|
19
19
|
</div>
|
20
20
|
</td>
|
21
21
|
<td align="right" nowrap="true" width="1">
|
data/cruise_config.rb
CHANGED
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.15.
|
7
|
-
date: 2007-11-
|
6
|
+
version: 0.15.1
|
7
|
+
date: 2007-11-29 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
|