Permalink
Browse files

Doesn't really matter whether we've selected the backlog, just show t…

…he link
  • Loading branch information...
1 parent 38a9f6c commit 85567ad6521c262746efb6a7197604fc3e85a0ba friflaj committed Jun 3, 2010
Showing with 5 additions and 11 deletions.
  1. 0 .gitignore
  2. 0 CREDITS.txt
  3. 0 LICENSE.txt
  4. 0 README.rdoc
  5. 0 app/controllers/backlogs_controller.rb
  6. 0 app/controllers/backlogs_global_controller.rb
  7. 0 app/controllers/stories_controller.rb
  8. 0 app/controllers/tasks_controller.rb
  9. 0 app/helpers/backlog_menu_helper.rb
  10. 0 app/helpers/backlogs_helper.rb
  11. 0 app/helpers/stories_helper.rb
  12. 0 app/models/burndown_day.rb
  13. 0 app/models/labels.yaml
  14. 0 app/models/sprint.rb
  15. 0 app/models/story.rb
  16. 0 app/models/task.rb
  17. 0 app/views/backlogs/_backlog.html.erb
  18. 0 app/views/backlogs/_burndown.html.erb
  19. 0 app/views/backlogs/_header.html.erb
  20. +5 −8 app/views/backlogs/_view_issues_sidebar.html.erb
  21. 0 app/views/backlogs/burndown.html.erb
  22. 0 app/views/backlogs/index.html.erb
  23. 0 app/views/backlogs/jsvariables.js.erb
  24. 0 app/views/backlogs/noconfig.html.erb
  25. 0 app/views/backlogs/show.html.erb
  26. 0 app/views/backlogs_global/statistics.rhtml
  27. 0 app/views/layouts/backlogs.html.erb
  28. 0 app/views/settings/_backlogs_settings.rhtml
  29. 0 app/views/stories/_story.html.erb
  30. 0 app/views/tasks/_task.html.erb
  31. BIN assets/images/bg.png
  32. BIN assets/images/indicator.gif
  33. BIN assets/images/link.png
  34. BIN assets/images/tasks.png
  35. BIN assets/images/warning.png
  36. 0 assets/javascripts/backlog.js
  37. 0 assets/javascripts/common.js
  38. 0 assets/javascripts/index.js
  39. 0 assets/javascripts/jquery-1.4.2.min.js
  40. 0 assets/javascripts/jquery-ui-1.8rc3.custom.min.js
  41. 0 assets/javascripts/jquery.cookies.2.2.0.min.js
  42. 0 assets/javascripts/jquery.jeditable.mini.js
  43. 0 assets/javascripts/jquery.jqplot/MIT-LICENSE.txt
  44. 0 assets/javascripts/jquery.jqplot/README.txt
  45. 0 assets/javascripts/jquery.jqplot/changes.txt
  46. 0 assets/javascripts/jquery.jqplot/copyright.txt
  47. 0 assets/javascripts/jquery.jqplot/excanvas.js
  48. 0 assets/javascripts/jquery.jqplot/excanvas.min.js
  49. 0 assets/javascripts/jquery.jqplot/gpl-2.0.txt
  50. 0 assets/javascripts/jquery.jqplot/jqPlotCssStyling.txt
  51. 0 assets/javascripts/jquery.jqplot/jqPlotOptions.txt
  52. 0 assets/javascripts/jquery.jqplot/jquery.jqplot.js
  53. 0 assets/javascripts/jquery.jqplot/jquery.jqplot.min.js
  54. 0 assets/javascripts/jquery.jqplot/optionsTutorial.txt
  55. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.barRenderer.js
  56. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.barRenderer.min.js
  57. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasAxisLabelRenderer.js
  58. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasAxisLabelRenderer.min.js
  59. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasAxisTickRenderer.js
  60. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasAxisTickRenderer.min.js
  61. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasTextRenderer.js
  62. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.canvasTextRenderer.min.js
  63. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.categoryAxisRenderer.js
  64. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.categoryAxisRenderer.min.js
  65. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.cursor.js
  66. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.cursor.min.js
  67. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.dateAxisRenderer.js
  68. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.dateAxisRenderer.min.js
  69. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.dragable.js
  70. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.dragable.min.js
  71. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.highlighter.js
  72. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.highlighter.min.js
  73. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.logAxisRenderer.js
  74. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.logAxisRenderer.min.js
  75. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.mekkoAxisRenderer.js
  76. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.mekkoAxisRenderer.min.js
  77. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.mekkoRenderer.js
  78. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.mekkoRenderer.min.js
  79. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.ohlcRenderer.js
  80. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.ohlcRenderer.min.js
  81. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.pieRenderer.js
  82. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.pieRenderer.min.js
  83. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.pointLabels.js
  84. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.pointLabels.js.orig
  85. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.pointLabels.min.js
  86. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.trendline.js
  87. 0 assets/javascripts/jquery.jqplot/plugins/jqplot.trendline.min.js
  88. 0 assets/javascripts/jquery.jqplot/usage.txt
  89. 0 assets/javascripts/show.js
  90. 0 assets/javascripts/story.js
  91. 0 assets/javascripts/task.js
  92. 0 assets/javascripts/taskboard.js
  93. 0 assets/stylesheets/common.css
  94. 0 assets/stylesheets/index.css
  95. 0 assets/stylesheets/jquery.jqplot.css
  96. 0 assets/stylesheets/jquery.jqplot.min.css
  97. 0 assets/stylesheets/purecssmenu.css
  98. 0 assets/stylesheets/show.css
  99. BIN assets/stylesheets/smoothness/images/ui-bg_flat_0_aaaaaa_40x100.png
  100. BIN assets/stylesheets/smoothness/images/ui-bg_flat_75_ffffff_40x100.png
  101. BIN assets/stylesheets/smoothness/images/ui-bg_glass_55_fbf9ee_1x400.png
  102. BIN assets/stylesheets/smoothness/images/ui-bg_glass_65_ffffff_1x400.png
  103. BIN assets/stylesheets/smoothness/images/ui-bg_glass_75_dadada_1x400.png
  104. BIN assets/stylesheets/smoothness/images/ui-bg_glass_75_e6e6e6_1x400.png
  105. BIN assets/stylesheets/smoothness/images/ui-bg_glass_95_fef1ec_1x400.png
  106. BIN assets/stylesheets/smoothness/images/ui-bg_highlight-soft_75_cccccc_1x100.png
  107. BIN assets/stylesheets/smoothness/images/ui-icons_222222_256x240.png
  108. BIN assets/stylesheets/smoothness/images/ui-icons_2e83ff_256x240.png
  109. BIN assets/stylesheets/smoothness/images/ui-icons_454545_256x240.png
  110. BIN assets/stylesheets/smoothness/images/ui-icons_888888_256x240.png
  111. BIN assets/stylesheets/smoothness/images/ui-icons_cd0a0a_256x240.png
  112. 0 assets/stylesheets/smoothness/jquery-ui-1.8rc3.custom.css
  113. 0 assets/stylesheets/statistics.css
  114. 0 assets/stylesheets/story.css
  115. 0 assets/stylesheets/task.css
  116. 0 assets/stylesheets/taskboard.css
  117. 0 config/locales/en.yml
  118. 0 config/locales/nl.yml
  119. 0 config/routes.rb
  120. 0 db/migrate/011_create_stories_tasks_sprints_and_burndown.rb
  121. 0 graph.dot
  122. 0 graphviz_plot.py
  123. 0 init.rb
  124. 0 lang/en.yml
  125. +0 −3 lib/backlogs_hooks.rb
  126. 0 lib/issue_patch.rb
  127. 0 lib/project_patch.rb
  128. 0 lib/query_patch.rb
  129. 0 lib/tasks/generate_chart_data.rake
  130. 0 lib/tasks/import_config.yaml
  131. 0 lib/tasks/import_project.rake
  132. 0 lib/tasks/sample_project.yaml
  133. 0 lib/version_patch.rb
  134. 0 test/fixtures/stories.yml
  135. 0 test/functional/backlogs_controller_test.rb
  136. 0 test/test_helper.rb
  137. 0 test/unit/story_test.rb
View
0 .gitignore 100644 → 100755
No changes.
View
0 CREDITS.txt 100644 → 100755
No changes.
View
0 LICENSE.txt 100644 → 100755
No changes.
View
0 README.rdoc 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
0 app/helpers/backlogs_helper.rb 100644 → 100755
No changes.
View
0 app/helpers/stories_helper.rb 100644 → 100755
No changes.
View
0 app/models/burndown_day.rb 100644 → 100755
No changes.
View
0 app/models/labels.yaml 100644 → 100755
No changes.
View
0 app/models/sprint.rb 100644 → 100755
No changes.
View
0 app/models/story.rb 100644 → 100755
No changes.
View
0 app/models/task.rb 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
@@ -17,14 +17,11 @@
:action => 'select_issues',
:project_id => project.id
}) %><br/>
- <% if product_backlog %>
- <%= link_to('Printable cards', {
- :controller => 'backlogs',
- :action => 'product_backlog_cards',
- :project_id => project.id
- }) %><br/>
-
- <% end %>
+ <%= link_to('Printable cards', {
+ :controller => 'backlogs',
+ :action => 'product_backlog_cards',
+ :project_id => project.id
+ }) %><br/>
<% if sprint && sprint.has_burndown %>
<h3>Sprint "<%= sprint.name %>"</h3>
View
No changes.
View
0 app/views/backlogs/index.html.erb 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
0 app/views/backlogs/show.html.erb 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
0 app/views/stories/_story.html.erb 100644 → 100755
No changes.
View
0 app/views/tasks/_task.html.erb 100644 → 100755
No changes.
View
0 assets/images/bg.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 assets/images/indicator.gif 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 assets/images/link.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 assets/images/tasks.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 assets/images/warning.png 100644 → 100755
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View
0 assets/javascripts/backlog.js 100644 → 100755
No changes.
View
0 assets/javascripts/common.js 100644 → 100755
No changes.
View
0 assets/javascripts/index.js 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
View
No changes.
No changes.
View
No changes.
View
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
No changes.
View
No changes.
View
0 assets/javascripts/show.js 100644 → 100755
No changes.
View
0 assets/javascripts/story.js 100644 → 100755
No changes.
View
0 assets/javascripts/task.js 100644 → 100755
No changes.
View
0 assets/javascripts/taskboard.js 100644 → 100755
No changes.
View
0 assets/stylesheets/common.css 100644 → 100755
No changes.
View
0 assets/stylesheets/index.css 100644 → 100755
No changes.
View
No changes.
View
No changes.
View
No changes.
View
0 assets/stylesheets/show.css 100644 → 100755
No changes.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
No changes.
View
0 assets/stylesheets/statistics.css 100644 → 100755
No changes.
View
0 assets/stylesheets/story.css 100644 → 100755
No changes.
View
0 assets/stylesheets/task.css 100644 → 100755
No changes.
View
0 assets/stylesheets/taskboard.css 100644 → 100755
No changes.
View
0 config/locales/en.yml 100644 → 100755
No changes.
View
0 config/locales/nl.yml 100644 → 100755
No changes.
View
0 config/routes.rb 100644 → 100755
No changes.
No changes.
View
0 graph.dot 100644 → 100755
No changes.
View
0 graphviz_plot.py 100644 → 100755
No changes.
View
0 init.rb 100644 → 100755
No changes.
View
0 lang/en.yml 100644 → 100755
No changes.
View
3 lib/backlogs_hooks.rb 100644 → 100755
@@ -17,12 +17,9 @@ def view_issues_sidebar_planning_bottom(context={ })
RAILS_DEFAULT_LOGGER.info "#### #{bit.inspect}"
locals[:sprint] = nil
- locals[:product_backlog] = nil
if sprint && sprint[:operator] == '=' && sprint[:values].size == 1
locals[:sprint] = Sprint.find_by_id(sprint[:values][0])
- elsif sprint && sprint[:operator] == '!*' && sprint[:values] == [''] && bit && bit[:operator] == '=' && bit[:values] == ['story']
- locals[:product_backlog] = true
end
end
View
0 lib/issue_patch.rb 100644 → 100755
No changes.
View
0 lib/project_patch.rb 100644 → 100755
No changes.
View
0 lib/query_patch.rb 100644 → 100755
No changes.
View
No changes.
View
0 lib/tasks/import_config.yaml 100644 → 100755
No changes.
View
0 lib/tasks/import_project.rake 100644 → 100755
No changes.
View
0 lib/tasks/sample_project.yaml 100644 → 100755
No changes.
View
0 lib/version_patch.rb 100644 → 100755
No changes.
View
0 test/fixtures/stories.yml 100644 → 100755
No changes.
View
No changes.
View
0 test/test_helper.rb 100644 → 100755
No changes.
View
0 test/unit/story_test.rb 100644 → 100755
No changes.

0 comments on commit 85567ad

Please sign in to comment.