diff --git a/config/locales/cs.yml b/config/locales/cs.yml new file mode 100644 index 0000000..d903a8c --- /dev/null +++ b/config/locales/cs.yml @@ -0,0 +1,9 @@ +cs: + label_graphs: Grafy + label_graphs_total_vs_closed_issues: Celkový počet úkolů a uzavřených úkolů + label_graphs_old_issues: Otevřít zastaralé úkoly + label_graphs_issue_growth: Všechny úkoly od počátku + label_graphs_issue_status_flow: Nedávno změněné stavy (během 24 hodin) + label_graphs_assigned_to_status_flow: Nedávno změněné přidělení (během 24 hodin) + warning_no_issues: Nejsou zde žádné úkoly. + \ No newline at end of file diff --git a/config/routes.rb b/config/routes.rb new file mode 100644 index 0000000..45d7cf5 --- /dev/null +++ b/config/routes.rb @@ -0,0 +1,11 @@ +ActionController::Routing::Routes.draw do |map| + map.connect 'projects/:project_id/issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect 'issues/old', :controller => 'graphs', :action => 'old_issues' + map.connect ':project_id/issue_age_graph', :controller => 'graphs', :action => 'issue_age_graph' + map.connect 'projects/:project_id/issues/growth', :controller => 'graphs', :action => 'issue_growth' + map.connect 'issues/growth', :controller => 'graphs', :action => 'issue_growth' + map.connect ':project_id/issue_growth_graph', :controller => 'graphs', :action => 'issue_growth_graph' + map.connect 'graphs/recent-status-changes', :controller=>"graphs", :action=>"recent_status_changes_graph" + map.connect 'graphs/recent-assigned-to-changes', :controller=>"graphs", :action=>"recent_assigned_to_changes_graph" + map.connect 'graphs/target-version/:id', :controller=>"graphs", :action=>"target_version_graph" +end