Skip to content

Commit

Permalink
Listado de victimas y operaciones con victimas. Closes #557
Browse files Browse the repository at this point in the history
  • Loading branch information
vtamara committed Sep 25, 2023
1 parent 14ab356 commit b1817c4
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ GIT

GIT
remote: https://gitlab.com/pasosdeJesus/heb412_gen.git
revision: cdc1f02aca0680473a79ce44090dea76e275312e
revision: 0e403ed5aa25e2b283840486106274bd61373ff2
branch: main
specs:
heb412_gen (2.2.0.beta4)
Expand All @@ -45,7 +45,7 @@ GIT

GIT
remote: https://gitlab.com/pasosdeJesus/msip.git
revision: 58dcbf715199bf976ef563474c89cc2c45c93cf2
revision: 78c00df5860282e8cd77c18488331c6b79b64dfe
branch: main
specs:
msip (2.2.0.beta4)
Expand Down
2 changes: 2 additions & 0 deletions config/locales/es.yml
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@ es:
tsitio: Tipo de sitio
clase: Centro poblado
"msip/persona":
Persona: Víctima
Personas: Víctimas
anionac: Año de nacimiento
clase: Centro poblado de nacimiento
departamento: Estado/Departamento de nacimiento
Expand Down
2 changes: 1 addition & 1 deletion lib/sivel2_gen/concerns/controllers/personas_controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def atributos_show
end

def atributos_form
atributos_show - [:id, :caso_ids]
atributos_form_msip - [:caso_ids]
end

def remplazar_antes_destruir_p
Expand Down
2 changes: 2 additions & 0 deletions test/dummy/app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@
desplegable: true %>
<%= opcion_menu "Importar relatos XRLAT",
sivel2_gen.casos_importarrelatos_path, desplegable: true %>
<%= opcion_menu "Víctimas",
msip.personas_path, desplegable: true %>
<% end %>
<% end %>
<%= despliega_abajo "Reportes y conteos" do %>
Expand Down

0 comments on commit b1817c4

Please sign in to comment.