Permalink
Browse files

Fin de renommage en taskjuggler

  • Loading branch information...
1 parent 25c04ef commit 7fdf31ee8ebba1cd4654ded00edff515d3fbbdd5 @chris2fr committed Sep 3, 2009
Showing with 15 additions and 15 deletions.
  1. +1 −1 README.rdoc
  2. +1 −1 app/controllers/{tjstatus_controller.rb → taskjuggler_controller.rb}
  3. +2 −0 app/helpers/taskjuggler_helper.rb
  4. +0 −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. +2 −2 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 −0 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. +0 −5 app/views/tjstatus/task_milestone.html.erb
  27. +2 −2 init.rb
  28. +1 −1 temp.rb
  29. +1 −1 test/functional/{tjstatus_controller_test.rb → taskjuggler_controller_test.rb}
View
@@ -1,3 +1,3 @@
-= tj_status
+= taskjuggler
Description goes here
@@ -1,4 +1,4 @@
-class TjstatusController < ApplicationController
+class TaskjugglerController < ApplicationController
unloadable
def export
@@ -0,0 +1,2 @@
+module TaskjugglerHelper
+end
@@ -1,2 +0,0 @@
-module TjstatusHelper
-end
@@ -1,7 +1,7 @@
<h2>Redmine Task Juggler Round-Trip Engeneering</h2>
<p>Hi!
<p>Help
-<p><form action="/tjstatus/initial_export" method="get"><INPUT TYPE="SUBMIT" VALUE="EXPORT"/> a Task-Juggler
+<p><form action="/taskjuggler/initial_export" method="get"><INPUT TYPE="SUBMIT" VALUE="EXPORT"/> a Task-Juggler
file from Redmine for <select name="project_id">
<%
cust_field_tj_enabled = ProjectCustomField.find(:first, :conditions => { :name => "tj_enabled" }).id
@@ -15,7 +15,7 @@ end
end%>
</SELECT>
</FORM>
-<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">
+<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">
<%
@projects.each do |project|
tj_enabled = project.custom_values.find(:first, :conditions => {:custom_field_id => cust_field_tj_enabled})
File renamed without changes.
@@ -0,0 +1,5 @@
+ task t<%= issue.id %> "#<%= issue.id %> : <%= issue.subject.sub("\"","'") %>" {
+ milestone
+<%=
+ render :file => File.join(File.dirname(__FILE__),"inc_task_inc_depends.html.erb"), :locals => { :issue => issue } %>
+ }
@@ -1,5 +0,0 @@
- task t<%= issue.id %> "#<%= issue.id %> : <%= issue.subject.sub("\"","'") %>" {
- milestone
-<%=
- render :file => File.join(File.dirname(__FILE__), 'tjstatus',"inc_task_inc_depends.html.erb"), :locals => { :issue => issue } %>
- }
View
@@ -6,6 +6,6 @@
description 'This plug exports project status into TaskJuggler and will import the dates too !'
version '0.0.2'
#menu :application_menu, :tjstatus, { :controller => 'tjstatus', :action => 'index' }, :caption => 'Task Juggler'
- permission :tjstatus, {:tjstatus => [:index, :export, :initial_export]}, :public => true
- menu :project_menu, :tjstatus, { :controller => 'tjstatus', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier
+ permission :taskjuggler, {:taskjuggler => [:index, :export, :initial_export]}, :public => true
+ menu :project_menu, :taskjuggler, { :controller => 'taskjuggler', :action => 'test' }, :caption => 'Task Juggler File', :after => :activity, :param => :project_identifier
end
View
@@ -18,7 +18,7 @@
cat_names.push("no_category")
cat_names.each do |cat_name|
%><%=
- 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 } %><%
+ render :file => File.join(File.direname(__FILE__), "app","views","inc_cat.html.erb"), :locals => { :cat_name => cat_name, :version_name => version_name } %><%
end %>
}
}
@@ -1,6 +1,6 @@
require File.dirname(__FILE__) + '/../test_helper'
-class TjstatusControllerTest < ActionController::TestCase
+class TaskjugglerControllerTest < ActionController::TestCase
# Replace this with your real tests.
def test_truth
assert true

0 comments on commit 7fdf31e

Please sign in to comment.