Permalink
Browse files

Merge pull request #2394 from ekylibre/feature/animals-new

Changed options for new btn in animals index
  • Loading branch information...
Aquaj committed Jan 2, 2019
2 parents 7e699e8 + 77c7e91 commit 5140ea4d632cb95160f3fe387d3cb63ce3f1ea2f
Showing with 3 additions and 5 deletions.
  1. +1 −3 app/views/backend/animals/index.html.haml
  2. +1 −1 config/locales/eng/action.yml
  3. +1 −1 config/locales/fra/action.yml
@@ -4,9 +4,7 @@
- menu.item :add_entrance.tl, { controller: :parcels, action: :new, nature: :incoming }, data: { toggle: 'dialog', refresh: true }
- menu.item :add_exit.tl, { controller: :parcels, action: :new, nature: :outgoing }, data: { toggle: 'dialog', refresh: true }
- menu.separator
- menu.item :add_animal.tl, { controller: :animals, action: :new }, data: { toggle: 'dialog', refresh: true }
- menu.item :add_animal_group.tl, { controller: :animal_groups, action: :new }, data: { toggle: 'dialog', refresh: true }
- menu.item :add_building_division.tl, { controller: :building_divisions, action: :new }, data: { toggle: 'dialog' }
- menu.item :add_animals.tl, { controller: :animals, action: :new }, data: { toggle: 'dialog', refresh: true }

#animals-interventions-menu.btn-group{data: {matching_interventions_path: matching_interventions_backend_animals_path}}
= render partial: 'interventions_menu', locals: {t: t}
@@ -996,7 +996,7 @@ eng:
activity_productions: "Activity productions"
add: "Add"
add_a_worker: "Add a worker"
add_animal: "Add animal"
add_animals: "Add animals"
add_animal_group: "Add animal group"
add_annotation: "Add annotation"
add_attachment: "Add attachment"
@@ -859,7 +859,7 @@ fra:
activity_productions: "Productions"
add: "Ajouter"
add_a_worker: "Ajouter un équipier"
add_animal: "Ajouter un animal"
add_animals: "Ajouter une bande d'animaux"
add_animal_group: "Ajouter un troupeau"
add_annotation: "Ajouter une annotation"
add_attachment: "Ajouter une pièce jointe"

0 comments on commit 5140ea4

Please sign in to comment.