Merge pull request #2510 from consul/valuator-groups

Add valuator groups
This commit is contained in:
Raimond Garcia
2018-04-05 00:21:04 +02:00
committed by GitHub
48 changed files with 777 additions and 94 deletions

View File

@@ -42,6 +42,7 @@ data:
- config/locales/%{locale}/documents.yml
- config/locales/%{locale}/images.yml
- config/locales/%{locale}/guides.yml
- config/locales/%{locale}/user_groups.yml
# Locale files to write new keys to, based on a list of key pattern => file rules. Matched from top to bottom:
# `i18n-tasks normalize -p` will force move the keys according to these rules

View File

@@ -32,8 +32,11 @@ en:
one: "Administrator"
other: "Administrators"
valuator:
one: "Evaluador"
other: "Evaluadores"
one: "Valuator"
other: "Valuators"
valuator_group:
one: "Valuator group"
other: "Valuator groups"
manager:
one: "Manager"
other: "Managers"

View File

@@ -13,6 +13,7 @@ en:
unmark_featured: Unmark featured
edit: Edit
configure: Configure
delete: Delete
banners:
index:
title: Banners
@@ -176,7 +177,6 @@ en:
undecided: "Undecided"
selected: "Selected"
select: "Select"
download_current_selection: "Download current selection"
table_id: "ID"
table_title: "Title"
table_supports: "Supports"
@@ -223,6 +223,7 @@ en:
documents: "Documents"
see_documents: "See documents (%{count})"
no_documents: "Without documents"
valuator_groups: "Valuator Groups"
edit:
classification: Classification
compatibility: Compatibility
@@ -236,6 +237,7 @@ en:
tags: Tags
tags_placeholder: "Write the tags you want separated by commas (,)"
undefined: Undefined
user_groups: "Groups"
search_unfeasible: Search unfeasible
milestones:
index:
@@ -581,8 +583,10 @@ en:
description: Description
no_description: No description
no_valuators: There are no valuators.
valuator_groups: "Valuator Groups"
group: "Group"
no_group: "No group"
valuator:
description_placeholder: 'Description (optional)'
add: Add to valuators
delete: Delete
search:
@@ -596,6 +600,30 @@ en:
in_evaluation_count: In evaluation
total_count: Total
cost: Cost
form:
edit_title: "Valuators: Edit valuator"
update: "Update valuator"
updated: "Valuator updated successfully"
show:
description: "Description"
email: "Email"
group: "Group"
no_description: "Without description"
no_group: "Without group"
valuator_groups:
index:
title: "Valuator groups"
new: "Create valuators group"
name: "Name"
members: "Members"
no_groups: "There are no valuator groups"
show:
title: "Valuators group: %{group}"
no_valuators: "There are no valuators assigned to this group"
form:
name: "Group name"
new: "Create valuators group"
edit: "Save valuators group"
poll_officers:
index:
title: Poll officers

View File

@@ -16,6 +16,7 @@ en:
budget_investment: "Budget Investment created successfully."
signature_sheet: "Signature sheet created successfully"
topic: "Topic created successfully."
valuator_group: "Valuator group created successfully"
save_changes:
notice: Changes saved
update:
@@ -27,9 +28,11 @@ en:
spending_proposal: "Investment project updated succesfully."
budget_investment: "Investment project updated succesfully."
topic: "Topic updated successfully."
valuator_group: "Valuator group updated successfully"
destroy:
spending_proposal: "Spending proposal deleted succesfully."
budget_investment: "Investment project deleted succesfully."
error: "Could not delete"
topic: "Topic deleted successfully."
poll_question_answer_video: "Answer video deleted successfully."
valuator_group: "Valuator group deleted successfully"

View File

@@ -34,6 +34,9 @@ es:
valuator:
one: "Evaluador"
other: "Evaluadores"
valuator_group:
one: "Grupo de Evaluadores"
other: "Grupos de Evaluadores"
manager:
one: "Gestor"
other: "Gestores"

View File

@@ -13,6 +13,7 @@ es:
unmark_featured: Quitar destacado
edit: Editar
configure: Configurar
delete: Borrar
banners:
index:
title: Banners
@@ -222,6 +223,7 @@ es:
documents: "Documentos"
see_documents: "Ver documentos (%{count})"
no_documents: "Sin documentos"
valuator_groups: "Grupos de evaluadores"
edit:
classification: Clasificación
compatibility: Compatibilidad
@@ -235,6 +237,7 @@ es:
tags: Etiquetas
tags_placeholder: "Escribe las etiquetas que desees separadas por comas (,)"
undefined: Sin definir
user_groups: "Grupos"
search_unfeasible: Buscar inviables
milestones:
index:
@@ -580,8 +583,10 @@ es:
description: Descripción
no_description: Sin descripción
no_valuators: No hay evaluadores.
valuator_groups: "Grupo de evaluadores"
group: "Grupo"
no_group: "Sin grupo"
valuator:
description_placeholder: 'Descripción (opcional)'
add: Añadir como evaluador
delete: Borrar
search:
@@ -595,6 +600,30 @@ es:
in_evaluation_count: En evaluación
total_count: Total
cost: Coste total
form:
edit_title: "Evaluadores: Editar evaluador"
update: "Actualizar evaluador"
updated: "Evaluador actualizado correctamente"
show:
description: "Descripción"
email: "Email"
group: "Grupo"
no_description: "Sin descripción"
no_group: "Sin grupo"
valuator_groups:
index:
title: "Grupos de evaluadores"
new: "Crear grupo de evaluadores"
name: "Nombre"
members: "Miembros"
no_groups: "No hay grupos de evaluadores"
show:
title: "Grupo de evaluadores: %{group}"
no_valuators: "No hay evaluadores asigandos a este grupo"
form:
name: "Nombre del grupo"
new: "Crear grupo de evaluadores"
edit: "Guardar grupo de evaluadores"
poll_officers:
index:
title: Presidentes de mesa

View File

@@ -16,6 +16,7 @@ es:
budget_investment: "Proyecto de gasto creado correctamente."
signature_sheet: "Hoja de firmas creada correctamente"
topic: "Tema creado correctamente."
valuator_group: "Grupo de evaluadores creado correctamente"
save_changes:
notice: Cambios guardados
update:
@@ -27,9 +28,11 @@ es:
spending_proposal: "Propuesta de inversión actualizada correctamente."
budget_investment: "Proyecto de gasto actualizado correctamente"
topic: "Tema actualizado correctamente."
valuator_group: "Grupo de evaluadores actualizado correctamente"
destroy:
spending_proposal: "Propuesta de inversión eliminada."
budget_investment: "Proyecto de gasto eliminado."
error: "No se pudo borrar"
topic: "Tema eliminado."
poll_question_answer_video: "Vídeo de respuesta eliminado."
valuator_group: "Grupo de evaluadores eliminado correctamente"

View File

@@ -246,7 +246,6 @@ fr:
index:
title: Évaluateurs
valuator:
description_placeholder: 'Description (optionnel)'
user_found: Utilisateur trouvé
add: Ajouter un évaluateur
search:

View File

@@ -179,7 +179,6 @@ he:
index:
title: Valuators
valuator:
description_placeholder: 'Description (optional)'
add: Add to valuators
summary:
title: Valuator summary for investment projects

View File

@@ -246,7 +246,6 @@ nl:
index:
title: Valuators
valuator:
description_placeholder: 'Description (optional)'
user_found: User found
add: Add to valuators
search:

View File

@@ -501,7 +501,6 @@ val:
no_description: Sense descripció
no_valuators: No hi ha avaluadors.
valuator:
description_placeholder: 'Descripció (opcional)'
add: Afegir com a avaluador
delete: Borrar
search:

View File

@@ -80,10 +80,11 @@ namespace :admin do
get :search, on: :collection
end
resources :valuators, only: [:index, :create, :destroy] do
resources :valuators, only: [:show, :index, :edit, :update, :create, :destroy] do
get :search, on: :collection
get :summary, on: :collection
end
resources :valuator_groups
resources :managers, only: [:index, :create, :destroy] do
get :search, on: :collection