hides edit booth button when available filter

This commit is contained in:
decabeza
2017-10-11 19:36:23 +02:00
parent 34c278db74
commit 811c348f0f
3 changed files with 4 additions and 1 deletions

View File

@@ -10,7 +10,8 @@
<%= link_to t("admin.booths.booth.shifts"),
new_admin_booth_shift_path(booth),
class: "button hollow" %>
<%= link_to t("admin.actions.edit"),
<% else %>
<%= link_to t("admin.booths.booth.edit"),
edit_admin_booth_path(booth),
class: "button hollow" %>
<% end %>

View File

@@ -664,6 +664,7 @@ en:
location: "Location"
booth:
shifts: "Manage shifts"
edit: "Edit booth"
officials:
edit:
destroy: Remove 'Official' status

View File

@@ -666,6 +666,7 @@ es:
location: "Ubicación"
booth:
shifts: "Asignar turnos"
edit: "Editar urna"
officials:
edit:
destroy: Eliminar condición de 'Cargo Público'