diff options
| author | jpl | 2017-04-10 18:44:20 +0200 |
|---|---|---|
| committer | jpl | 2017-04-10 18:44:20 +0200 |
| commit | b23f6dca2395d87e2a3c0f8d8ca15303b240aef7 (patch) | |
| tree | b77eb7f1fc6c465724bd7dc9c72863eeb4ea587c | |
| parent | f62876f66e1ded5347ac93954845357a58be6aa9 (diff) | |
| download | chouette-core-b23f6dca2395d87e2a3c0f8d8ca15303b240aef7.tar.bz2 | |
Refs #2909: adding actions on tt#index
| -rw-r--r-- | app/views/time_tables/index.html.slim | 2 | ||||
| -rw-r--r-- | config/locales/actions.en.yml | 1 | ||||
| -rw-r--r-- | config/locales/actions.fr.yml | 1 |
3 files changed, 3 insertions, 1 deletions
diff --git a/app/views/time_tables/index.html.slim b/app/views/time_tables/index.html.slim index fe52e2f99..6653d6015 100644 --- a/app/views/time_tables/index.html.slim +++ b/app/views/time_tables/index.html.slim @@ -41,7 +41,7 @@ = table_builder @time_tables, { :comment => 'comment', :color => '', "Période de validité englobante" => Proc.new{ |tt| tt.bounding_dates.empty? ? '-' : t('bounding_dates', debut: l(tt.bounding_dates.min), end: l(tt.bounding_dates.max)) }, :calendar => Proc.new{ |tt| tt.calendar ? tt.calendar.try(:name) : '-' }, :updated_at => Proc.new {|tt| l(tt.updated_at, format: :short)} }, - [:show, :edit, :delete], + [:show, :edit, :duplicate, :delete], [], 'table has-search' diff --git a/config/locales/actions.en.yml b/config/locales/actions.en.yml index a5fbbeb64..5bfd9d9fb 100644 --- a/config/locales/actions.en.yml +++ b/config/locales/actions.en.yml @@ -9,6 +9,7 @@ en: archive: "Archive" unarchive: "Unarchive" clone: 'Clone' + duplicate: 'Clone' clean_up: 'Clean up' sync: 'Synchronize' combine: 'Combine' diff --git a/config/locales/actions.fr.yml b/config/locales/actions.fr.yml index f6e4d74e2..94afc1393 100644 --- a/config/locales/actions.fr.yml +++ b/config/locales/actions.fr.yml @@ -10,6 +10,7 @@ fr: archive: 'Conserver' unarchive: 'Déconserver' clone: 'Dupliquer' + duplicate: 'Dupliquer' clean_up: 'Purger' sync: 'Synchroniser' combine: 'Combiner' |
