1
0

Added quantity filtering by domain

This commit is contained in:
cryptogopher
2019-11-21 01:28:03 +01:00
parent d3ba8579d6
commit 2ebbe9a306
12 changed files with 99 additions and 29 deletions

View File

@@ -67,6 +67,8 @@ en:
contextual:
link_import_ingredients: 'Import'
link_new_ingredient: 'New ingredient'
filters:
visibility_prompt: 'all'
import:
heading_import_ingredients: 'Import'
label_import_select_csv_file: 'Select CSV file'
@@ -98,6 +100,8 @@ en:
heading_new_source: 'New source'
link_new_source: 'New source'
quantities:
filters:
domain_prompt: 'all'
index:
heading: 'Quantities'
heading_new_quantity: 'New quantity'

View File

@@ -21,6 +21,7 @@ resources :projects do
resources :quantities, :only => [:index, :create, :destroy] do
post 'toggle', on: :member
post 'up', 'down', 'left', 'right', on: :member
get 'filter', on: :collection
end
resources :units, :only => [:index, :create, :destroy]
end