Commit 03b9914b89a6b546589e41b7b18517665fd3213d
- Date: Tue Apr 29 08:45:39 +0000 2008
- Committer: Nicolas Pouillard (nicolas.pouillard@gmail.com)
- Author: Nicolas Pouillard (nicolas.pouillard@gmail.com)
- Commit SHA1: 03b9914b89a6b546589e41b7b18517665fd3213d
- Tree SHA1: 50bc303fb8a3603893974510d3aadd3dfd9124f9
- lib/unassigned.rhtml 27 ---------------------------
- lib/issues.rhtml 18 ++++++++++++++++++
- lib/component.rhtml 18 ------------------
- lib/operator.rb 8 --++++++
- Manifest.txt 3 --+
Commit diff
- Diff rendering mode:
- inline
- side by side
Manifest.txt
|   | ||
| 4 | 4 | ReleaseNotes |
| 5 | 5 | bin/ditz |
| 6 | 6 | bin/ditz-convert-from-monolith |
| 7 | ||
| 8 | 7 | lib/ditz.rb |
| 9 | 8 | lib/html.rb |
| 10 | 9 | lib/index.rhtml |
| 11 | 10 | lib/issue.rhtml |
| 11 | lib/issues.rhtml | |
| 12 | 12 | lib/issue_table.rhtml |
| 13 | 13 | lib/lowline.rb |
| 14 | 14 | lib/model-objects.rb |
| … | … | |
| 16 | 16 | lib/operator.rb |
| 17 | 17 | lib/release.rhtml |
| 18 | 18 | lib/style.css |
| 19 | ||
| 20 | 19 | lib/util.rb |
| toggle raw diff | ||
lib/component.rhtml
|   | ||
| 0 | ||
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| toggle raw diff | ||
lib/issues.rhtml
|   | ||
| 1 | <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en"> | |
| 2 | <head> | |
| 3 | <title><%= title %></title> | |
| 4 | <meta http-equiv="Content-Type" content="text/html; charset=utf8" /> | |
| 5 | <link rel="stylesheet" href="style.css" type="text/css" /> | |
| 6 | </head> | |
| 7 | ||
| 8 | <body> | |
| 9 | ||
| 10 | <%= link_to "index", "« #{project.name} project page" %> | |
| 11 | ||
| 12 | <h1><%= title %></h1> | |
| 13 | ||
| 14 | <%= render "issue_table" %> | |
| 15 | ||
| 16 | <p class="footer">Generated by <a href="http://ditz.rubyforge.org/">ditz</a>. | |
| 17 | </body> | |
| 18 | </html> | |
| toggle raw diff | ||
lib/operator.rb
|   | ||
| 421 | 421 | fn = File.join dir, links[c] |
| 422 | 422 | puts "Generating #{fn}..." |
| 423 | 423 | File.open(fn, "w") do |f| |
| 424 | ||
| 424 | f.puts ErbHtml.new(template_dir, "issues", links, | |
| 425 | :title => "#{project.name} component: #{c.name}", | |
| 426 | :show_component => false, :show_release => true, | |
| 425 | 427 | :issues => project.issues_for_component(c), :project => project) |
| 426 | 428 | end |
| 427 | 429 | end |
| … | … | |
| 431 | 431 | fn = File.join dir, links["unassigned"] |
| 432 | 432 | puts "Generating #{fn}..." |
| 433 | 433 | File.open(fn, "w") do |f| |
| 434 | ||
| 434 | f.puts ErbHtml.new(template_dir, "issues", links, | |
| 435 | :title => "Issues not assigned to any release", | |
| 436 | :show_component => true, :show_release => true, | |
| 435 | 437 | :issues => project.unassigned_issues, :project => project) |
| 436 | 438 | end |
| 437 | 439 | |
| toggle raw diff | ||
lib/unassigned.rhtml
|   | ||
| 0 | ||
| 1 | ||
| 2 | ||
| 3 | ||
| 4 | ||
| 5 | ||
| 6 | ||
| 7 | ||
| 8 | ||
| 9 | ||
| 10 | ||
| 11 | ||
| 12 | ||
| 13 | ||
| 14 | ||
| 15 | ||
| 16 | ||
| 17 | ||
| 18 | ||
| 19 | ||
| 20 | ||
| 21 | ||
| 22 | ||
| 23 | ||
| 24 | ||
| 25 | ||
| 26 | ||
| toggle raw diff | ||
