backlog 0.5.10 → 0.6.0
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 +5 -0
- data/app/controllers/backlogs_controller.rb +4 -0
- data/app/helpers/application_helper.rb +6 -1
- data/app/views/backlogs/_tasks.rhtml +1 -0
- data/app/views/backlogs/list.rhtml +16 -0
- data/app/views/layouts/mwrt002.rhtml +1 -0
- data/app/views/works/new.rhtml +1 -1
- data/lang/en.yaml +1 -0
- data/lang/no.yaml +1 -0
- data/public/stylesheets/backlog.css +3 -0
- metadata +3 -2
data/History.txt
CHANGED
@@ -17,6 +17,10 @@ class BacklogsController < ApplicationController
|
|
17
17
|
redirect_to :controller => 'periods', :action => :index
|
18
18
|
end
|
19
19
|
|
20
|
+
def list
|
21
|
+
@backlogs = Backlog.find(:all, :order => 'name')
|
22
|
+
end
|
23
|
+
|
20
24
|
def show
|
21
25
|
if params[:id]
|
22
26
|
@backlog = Backlog.find(params[:id])
|
@@ -1,4 +1,3 @@
|
|
1
|
-
# Methods added to this helper will be available to all templates in the application.
|
2
1
|
require 'localization'
|
3
2
|
|
4
3
|
module ApplicationHelper
|
@@ -33,6 +32,12 @@ module ApplicationHelper
|
|
33
32
|
detour_to image_tag(image_source, image_options), url_options, post ? {:method => :post} : nil
|
34
33
|
end
|
35
34
|
|
35
|
+
def image_link_to(image_source, title, url_options, image_options = nil, post = false)
|
36
|
+
image_options ||= {:class => 'image-submit'}
|
37
|
+
image_options.update :alt => title, :title => title
|
38
|
+
link_to image_tag(image_source, image_options), url_options, post ? {:method => :post} : nil
|
39
|
+
end
|
40
|
+
|
36
41
|
def back_or_link_to(title, options)
|
37
42
|
if session[:detours]
|
38
43
|
options = {:return_from_detour => true}.update(session[:detours].last)
|
@@ -0,0 +1,16 @@
|
|
1
|
+
<% @page_title = "#{l(:listing)} #{l(:backlogs)}" %>
|
2
|
+
|
3
|
+
<div id="spotlight">
|
4
|
+
<div class="btitle">
|
5
|
+
<h4><%=l :backlogs%></h4>
|
6
|
+
</div>
|
7
|
+
|
8
|
+
<table>
|
9
|
+
<% i = 0 %>
|
10
|
+
<% for @backlog in @backlogs %>
|
11
|
+
<tr>
|
12
|
+
<td><%=link_to @backlog.name, :action => :edit, :id => @backlog.id%></td>
|
13
|
+
</tr>
|
14
|
+
<% end %>
|
15
|
+
</table>
|
16
|
+
</div>
|
@@ -31,6 +31,7 @@ function handlePageEvent(event) {
|
|
31
31
|
<% else %>
|
32
32
|
<%= detour_to l(:log_in), :controller => 'user', :action => :login %>
|
33
33
|
<% end %>
|
34
|
+
| <%= link_to l(:backlogs), :controller => 'backlogs', :action => :list %>
|
34
35
|
<!-- | <%= link_to l(:administration), :controller => 'administration', :action => :index %> -->
|
35
36
|
<% if user? %>| <%=user.email%><% end %>
|
36
37
|
</div>
|
data/app/views/works/new.rhtml
CHANGED
data/lang/en.yaml
CHANGED
data/lang/no.yaml
CHANGED
@@ -7,6 +7,9 @@ table.input td {vertical-align: top; margin: 0; border: 0; padding: 0 1px;}
|
|
7
7
|
#spotlight img.image-submit {float: none;}
|
8
8
|
#spotlight div.btitle img.image-submit {float: right;}
|
9
9
|
#spotlight div.btitle h4 {margin-top: 6px;}
|
10
|
+
#maincontent img.image-submit {float: none;}
|
11
|
+
#maincontent div.btitle img.image-submit {float: right;}
|
12
|
+
#maincontent div.btitle h4 {margin-top: 6px;}
|
10
13
|
.highlight {background: yellow;}
|
11
14
|
.tasks {cursor: move;}
|
12
15
|
.dragable-hover {background: yellow; border: 1px solid black;}
|
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.
|
7
|
-
date: 2007-08-
|
6
|
+
version: 0.6.0
|
7
|
+
date: 2007-08-07 00:00:00 +02:00
|
8
8
|
summary: Application to aid collecting, processing, organizing, reviewing and doing tasks.
|
9
9
|
require_paths:
|
10
10
|
- lib
|
@@ -1709,6 +1709,7 @@ files:
|
|
1709
1709
|
- app/views/layouts/_headers.rhtml
|
1710
1710
|
- app/views/backlogs
|
1711
1711
|
- app/views/backlogs/_name_list.rhtml
|
1712
|
+
- app/views/backlogs/list.rhtml
|
1712
1713
|
- app/views/backlogs/show.rhtml
|
1713
1714
|
- app/views/backlogs/_form.rhtml
|
1714
1715
|
- app/views/backlogs/new.rhtml
|