Skip to content
This repository
Browse code

Fin de renommage en taskjuggler

  • Loading branch information...
commit 7fdf31ee8ebba1cd4654ded00edff515d3fbbdd5 1 parent 25c04ef
Christopher authored September 03, 2009

Showing 29 changed files with 15 additions and 15 deletions. Show diff stats Hide diff stats

  1. 2  README.rdoc
  2. 2  app/controllers/{tjstatus_controller.rb → taskjuggler_controller.rb}
  3. 2  app/helpers/taskjuggler_helper.rb
  4. 2  app/helpers/tjstatus_helper.rb
  5. 0  app/views/{tjstatus → taskjuggler}/export.html.erb
  6. 0  app/views/{tjstatus → taskjuggler}/import.html.erb
  7. 0  app/views/{tjstatus → taskjuggler}/inc_cat.html.erb
  8. 0  app/views/{tjstatus → taskjuggler}/inc_task_inc_allocate.html.erb
  9. 0  app/views/{tjstatus → taskjuggler}/inc_task_inc_depends.html.erb
  10. 4  app/views/{tjstatus → taskjuggler}/index.html.erb
  11. 0  app/views/{tjstatus → taskjuggler}/initial_export.html.erb
  12. 0  app/views/{tjstatus → taskjuggler}/task.erb
  13. 0  app/views/{tjstatus → taskjuggler}/task.html.erb
  14. 0  app/views/{tjstatus → taskjuggler}/task_current.html.erb
  15. 0  app/views/{tjstatus → taskjuggler}/task_done.html.erb
  16. 5  app/views/taskjuggler/task_milestone.html.erb
  17. 0  app/views/{tjstatus → taskjuggler}/task_new.html.erb
  18. 0  app/views/{tjstatus → taskjuggler}/task_new.html.erb.copy_full
  19. 0  app/views/{tjstatus → taskjuggler}/task_scheduled.html.erb
  20. 0  app/views/{tjstatus → taskjuggler}/task_scheduled_current.html.erb
  21. 0  app/views/{tjstatus → taskjuggler}/task_scheduled_done.html.erb
  22. 0  app/views/{tjstatus → taskjuggler}/task_scheduled_milestone.html.erb
  23. 0  app/views/{tjstatus → taskjuggler}/task_scheduled_new.html.erb
  24. 0  app/views/{tjstatus → taskjuggler}/teast.html.erb
  25. 0  app/views/{tjstatus → taskjuggler}/test.html.erb
  26. 5  app/views/tjstatus/task_milestone.html.erb
  27. 4  init.rb
  28. 2  temp.rb
  29. 2  test/functional/{tjstatus_controller_test.rb → taskjuggler_controller_test.rb}
2  README.rdoc
Source Rendered
... ...
@@ -1,3 +1,3 @@
1  
-= tj_status
  1
+= taskjuggler
2 2
 
3 3
 Description goes here
2  app/controllers/tjstatus_controller.rb → app/controllers/taskjuggler_controller.rb
... ...
@@ -1,4 +1,4 @@
1  
-class TjstatusController < ApplicationController
  1
+class TaskjugglerController < ApplicationController
2 2
 unloadable
3 3
 
4 4
   def export
2  app/helpers/taskjuggler_helper.rb
... ...
@@ -0,0 +1,2 @@
  1
+module TaskjugglerHelper
  2
+end
2  app/helpers/tjstatus_helper.rb
... ...
@@ -1,2 +0,0 @@
1  
-module TjstatusHelper
2  
-end
0  app/views/tjstatus/export.html.erb → app/views/taskjuggler/export.html.erb
File renamed without changes
0  app/views/tjstatus/import.html.erb → app/views/taskjuggler/import.html.erb
File renamed without changes
0  app/views/tjstatus/inc_cat.html.erb → app/views/taskjuggler/inc_cat.html.erb
File renamed without changes
0  app/views/tjstatus/inc_task_inc_allocate.html.erb → app/views/taskjuggler/inc_task_inc_allocate.html.erb
File renamed without changes
0  app/views/tjstatus/inc_task_inc_depends.html.erb → app/views/taskjuggler/inc_task_inc_depends.html.erb
File renamed without changes
4  app/views/tjstatus/index.html.erb → app/views/taskjuggler/index.html.erb
... ...
@@ -1,7 +1,7 @@
1 1
 <h2>Redmine Task Juggler Round-Trip Engeneering</h2>
2 2
 <p>Hi!
3 3
 <p>Help
4  
-<p><form action="/tjstatus/initial_export" method="get"><INPUT TYPE="SUBMIT" VALUE="EXPORT"/> a Task-Juggler 
  4
+<p><form action="/taskjuggler/initial_export" method="get"><INPUT TYPE="SUBMIT" VALUE="EXPORT"/> a Task-Juggler 
5 5
  file from Redmine for <select name="project_id">
6 6
 <% 
7 7
 cust_field_tj_enabled = ProjectCustomField.find(:first, :conditions => { :name => "tj_enabled" }).id
@@ -15,7 +15,7 @@ end
15 15
 end%>
16 16
 </SELECT>
17 17
 </FORM>
18  
-<p><form action="/tjstatus/import" method="get" ><INPUT TYPE="SUBMIT" VALUE="IMPORT" onClick="return(confirm('Have you backed up your database ?'))"/> a CVS file (id, start, end, effort, duration, priority) located at <input type="texte" name="filepath" value="/tmp/import.csv"/>, generated by Task Juggler into the <select name="project_id">
  18
+<p><form action="/taskjuggler/import" method="get" ><INPUT TYPE="SUBMIT" VALUE="IMPORT" onClick="return(confirm('Have you backed up your database ?'))"/> a CVS file (id, start, end, effort, duration, priority) located at <input type="texte" name="filepath" value="/tmp/import.csv"/>, generated by Task Juggler into the <select name="project_id">
19 19
 <% 
20 20
 @projects.each do |project| 
21 21
 tj_enabled = project.custom_values.find(:first, :conditions => {:custom_field_id => cust_field_tj_enabled})
0  app/views/tjstatus/initial_export.html.erb → app/views/taskjuggler/initial_export.html.erb
File renamed without changes
0  app/views/tjstatus/task.erb → app/views/taskjuggler/task.erb
File renamed without changes
0  app/views/tjstatus/task.html.erb → app/views/taskjuggler/task.html.erb
File renamed without changes
0  app/views/tjstatus/task_current.html.erb → app/views/taskjuggler/task_current.html.erb
File renamed without changes
0  app/views/tjstatus/task_done.html.erb → app/views/taskjuggler/task_done.html.erb
File renamed without changes
5  app/views/taskjuggler/task_milestone.html.erb
... ...
@@ -0,0 +1,5 @@
  1
+			task t<%= issue.id %> "#<%= issue.id %> : <%= issue.subject.sub("\"","'") %>" {
  2
+				milestone
  3
+<%= 
  4
+				render :file  => File.join(File.dirname(__FILE__),"inc_task_inc_depends.html.erb"), :locals => { :issue => issue } %>
  5
+			}
0  app/views/tjstatus/task_new.html.erb → app/views/taskjuggler/task_new.html.erb
File renamed without changes
0  app/views/tjstatus/task_new.html.erb.copy_full → app/views/taskjuggler/task_new.html.erb.copy_full
File renamed without changes
0  app/views/tjstatus/task_scheduled.html.erb → app/views/taskjuggler/task_scheduled.html.erb
File renamed without changes
0  app/views/tjstatus/task_scheduled_current.html.erb → ...views/taskjuggler/task_scheduled_current.html.erb
File renamed without changes
0  app/views/tjstatus/task_scheduled_done.html.erb → app/views/taskjuggler/task_scheduled_done.html.erb
File renamed without changes
0  app/views/tjstatus/task_scheduled_milestone.html.erb → ...ews/taskjuggler/task_scheduled_milestone.html.erb
File renamed without changes
0  app/views/tjstatus/task_scheduled_new.html.erb → app/views/taskjuggler/task_scheduled_new.html.erb
File renamed without changes
0  app/views/tjstatus/teast.html.erb → app/views/taskjuggler/teast.html.erb
File renamed without changes
0  app/views/tjstatus/test.html.erb → app/views/taskjuggler/test.html.erb
File renamed without changes
5  app/views/tjstatus/task_milestone.html.erb
... ...
@@ -1,5 +0,0 @@
1  
-			task t<%= issue.id %> "#<%= issue.id %> : <%= issue.subject.sub("\"","'") %>" {
2  
-				milestone
3  
-<%= 
4  
-				render :file  => File.join(File.dirname(__FILE__), 'tjstatus',"inc_task_inc_depends.html.erb"), :locals => { :issue => issue } %>
5  
-			}
4  init.rb
@@ -6,6 +6,6 @@
6 6
   description 'This plug exports project status into TaskJuggler and will import the dates too !'
7 7
   version '0.0.2'
8 8
   #menu :application_menu, :tjstatus, { :controller => 'tjstatus', :action => 'index' }, :caption => 'Task Juggler'
9  
-  permission :tjstatus, {:tjstatus => [:index, :export, :initial_export]}, :public => true
10  
-  menu :project_menu, :tjstatus, { :controller => 'tjstatus', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier
  9
+  permission :taskjuggler, {:taskjuggler => [:index, :export, :initial_export]}, :public => true
  10
+  menu :project_menu, :taskjuggler, { :controller => 'taskjuggler', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier
11 11
 end
2  temp.rb
@@ -18,7 +18,7 @@
18 18
 	cat_names.push("no_category")
19 19
 	cat_names.each do |cat_name|
20 20
 		%><%= 
21  
-				render :file  => "/opt/redmine-0.8.4/vendor/plugins/redmine_tj_status/app/views/inc_cat.html.erb", :locals => { :cat_name => cat_name, :version_name => version_name } %><%
  21
+				render :file  => File.join(File.direname(__FILE__), "app","views","inc_cat.html.erb"), :locals => { :cat_name => cat_name, :version_name => version_name } %><%
22 22
 	end %>
23 23
 	}
24 24
 }
2  test/functional/tjstatus_controller_test.rb → test/functional/taskjuggler_controller_test.rb
... ...
@@ -1,6 +1,6 @@
1 1
 require File.dirname(__FILE__) + '/../test_helper'
2 2
 
3  
-class TjstatusControllerTest < ActionController::TestCase
  3
+class TaskjugglerControllerTest < ActionController::TestCase
4 4
   # Replace this with your real tests.
5 5
   def test_truth
6 6
     assert true

0 notes on commit 7fdf31e

Please sign in to comment.
Something went wrong with that request. Please try again.