diff options
| author | Michel Etienne | 2012-05-09 00:06:42 +0200 |
|---|---|---|
| committer | Michel Etienne | 2012-05-09 00:06:42 +0200 |
| commit | f95383a7fbc557f07765bc4cb3206a8b3e31bcb3 (patch) | |
| tree | 0984784a46c627cfcf9d375a4c7b4d32ecd252d6 | |
| parent | 71ce6186539670f108624949acdfcac79f74303f (diff) | |
| download | chouette-core-f95383a7fbc557f07765bc4cb3206a8b3e31bcb3.tar.bz2 | |
update help index
| -rw-r--r-- | Gemfile | 6 | ||||
| -rw-r--r-- | Gemfile.lock | 36 | ||||
| -rw-r--r-- | app/views/help/index.textile | 5 | ||||
| -rw-r--r-- | app/views/time_tables/_date_fields.erb | 2 | ||||
| -rw-r--r-- | app/views/time_tables/_form.erb | 2 | ||||
| -rw-r--r-- | app/views/time_tables/_period_fields.erb | 2 |
6 files changed, 28 insertions, 25 deletions
@@ -30,10 +30,10 @@ gem 'squeel' gem 'RedCloth' gem "acts_as_tree", :git => "git://github.com/dryade/acts_as_tree.git" -gem "acts_as_list" +gem "acts_as_list", :git => "git://github.com/swanandp/acts_as_list.git" gem 'apartment', :git => 'git://github.com/dryade/apartment.git' -gem 'ninoxe', :git => 'git://chouette.dryade.priv/ninoxe' #, :path => '~/Projects/Ninoxe' -#gem 'ninoxe', :path => '~/workspace/chouette/ninoxe' +#gem 'ninoxe', :git => 'git://chouette.dryade.priv/ninoxe' #, :path => '~/Projects/Ninoxe' +gem 'ninoxe', :path => '~/workspace/chouette/ninoxe' # Gems used only for assets and not required # in production environments by default. diff --git a/Gemfile.lock b/Gemfile.lock index d8e89e12b..673e72b03 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,15 +1,4 @@ GIT - remote: git://chouette.dryade.priv/ninoxe - revision: 6d20a3e203107767bc8ca85ba268e7279de8407e - specs: - ninoxe (0.0.8) - GeoRuby - activerecord (~> 3.1.3) - composite_primary_keys (= 4.1.2) - geokit - rails (= 3.1.3) - -GIT remote: git://github.com/dryade/activerecord-jdbc-adapter.git revision: 0bf424bc3bcaf9f44646976cc4c1a8e9e57f11b4 specs: @@ -33,6 +22,12 @@ GIT apartment (0.14.1) GIT + remote: git://github.com/swanandp/acts_as_list.git + revision: 9df75e6e54d4bc5ec7cfc8e739739229c70c2794 + specs: + acts_as_list (0.1.6) + +GIT remote: git://github.com/thoughtbot/shoulda.git revision: 269edccc7df8f2eb94a96a6a6d248a5960d7fe1f specs: @@ -47,11 +42,20 @@ GIT user_interface (0.0.1) rails (~> 3.1.0) +PATH + remote: ~/workspace/chouette/ninoxe + specs: + ninoxe (0.0.8) + GeoRuby + activerecord (~> 3.1.3) + composite_primary_keys (= 4.1.2) + geokit + rails (= 3.1.3) + GEM remote: http://rubygems.org/ specs: GeoRuby (1.3.4) - RedCloth (4.2.9) RedCloth (4.2.9-java) SyslogLogger (1.4.1) actionmailer (3.1.3) @@ -85,10 +89,8 @@ GEM activesupport (= 3.1.3) activesupport (3.1.3) multi_json (~> 1.0) - acts_as_list (0.1.6) addressable (2.2.8) arel (2.2.3) - bcrypt-ruby (3.0.1) bcrypt-ruby (3.0.1-java) bouncy-castle-java (1.5.0146.1) builder (3.0.0) @@ -134,7 +136,6 @@ GEM factory_girl_rails (1.7.0) factory_girl (~> 2.6.0) railties (>= 3.0.0) - ffi (1.0.11) ffi (1.0.11-java) formtastic (2.0.2) rails (~> 3.0) @@ -161,8 +162,6 @@ GEM bouncy-castle-java (>= 1.5.0146.1) jruby-rack (1.1.5) json (1.7.1-java) - launchy (2.1.0) - addressable (~> 2.2.6) launchy (2.1.0-java) addressable (~> 2.2.6) ffi (~> 1.0.9) @@ -183,7 +182,6 @@ GEM net-ssh (2.3.0) net-ssh-gateway (1.1.0) net-ssh (>= 1.99.1) - nokogiri (1.5.2) nokogiri (1.5.2-java) orm_adapter (0.0.7) polyamorous (0.5.0) @@ -298,7 +296,7 @@ DEPENDENCIES SyslogLogger activerecord-jdbcpostgresql-adapter! activerecord-jdbcsqlite3-adapter - acts_as_list + acts_as_list! acts_as_tree! apartment! capistrano diff --git a/app/views/help/index.textile b/app/views/help/index.textile index c793ff0f6..71183524f 100644 --- a/app/views/help/index.textile +++ b/app/views/help/index.textile @@ -10,10 +10,11 @@ Cette itération présente les formulaires de : * réseaux * transporteurs * lignes +** séquences d'arrêts * arrêts * calendriers d'application * correspondances -* séquences d'arrêts +* import Neptune (actuellement uniquement lors de la création d'un espace de donné) l'avancement actuel permet de : @@ -21,12 +22,12 @@ l'avancement actuel permet de : * consulter les cartes * déplacer un arrêt depuis la carte (voir mode opératoire dans l'aide des arrêts) * associer les arrêts à leurs parents +* ajouter des fils à un arrêt les action suivantes ne sont pas encore disponible : * afficher le fond Géoportail * ajouter ou supprimer des dates et des périodes aux calendriers * associer des arrêts à une séquences d'arrêts -* ajouter des fils à un arrêt * associer une ITL à une ligne diff --git a/app/views/time_tables/_date_fields.erb b/app/views/time_tables/_date_fields.erb index 7ecc58fc5..7ec895b44 100644 --- a/app/views/time_tables/_date_fields.erb +++ b/app/views/time_tables/_date_fields.erb @@ -1,6 +1,8 @@ <div class='nested-fields'> <%= f.inputs :class => 'dates' do %> <%= f.input :date, :as => :date , :label => @time_table.human_attribute_name("date")%> + <%= f.input :time_table_id, :as => :hidden %> + <%= f.input :position, :as => :hidden %> <%= link_to_remove_association t('actions.destroy'), f %> <% end %> </div>
\ No newline at end of file diff --git a/app/views/time_tables/_form.erb b/app/views/time_tables/_form.erb index 777dd9c18..f91b119fd 100644 --- a/app/views/time_tables/_form.erb +++ b/app/views/time_tables/_form.erb @@ -23,7 +23,7 @@ </li> <% end %> <% end %> -<!-- + <!-- <div id='periods'> <label><%= @time_table.human_attribute_name("periods") %>: </label> <%= form.semantic_fields_for :periods do |period| %> diff --git a/app/views/time_tables/_period_fields.erb b/app/views/time_tables/_period_fields.erb index 8c42d8264..76bb506f9 100644 --- a/app/views/time_tables/_period_fields.erb +++ b/app/views/time_tables/_period_fields.erb @@ -2,6 +2,8 @@ <%= f.inputs :class => 'periods' do %> <%= f.input :period_start, :as => :date , :label => @time_table.human_attribute_name("period_start")%> <%= f.input :period_end, :as => :date , :label => @time_table.human_attribute_name("period_end")%> + <%= f.input :time_table_id, :as => :hidden %> + <%= f.input :position, :as => :hidden %> <%= link_to_remove_association t('actions.destroy'), f %> <% end %> </div> |
