Skip to content

Commit

Permalink
Merge pull request #2394 from ekylibre/feature/animals-new
Browse files Browse the repository at this point in the history
Changed options for new btn in animals index
  • Loading branch information
Aquaj committed Jan 2, 2019
2 parents 7e699e8 + 77c7e91 commit 5140ea4
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 5 deletions.
4 changes: 1 addition & 3 deletions app/views/backend/animals/index.html.haml
Expand Up @@ -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}
Expand Down
2 changes: 1 addition & 1 deletion config/locales/eng/action.yml
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion config/locales/fra/action.yml
Expand Up @@ -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"
Expand Down

0 comments on commit 5140ea4

Please sign in to comment.