1
0

Added Quantity ordering

Some table columns made unwrappable
This commit is contained in:
cryptogopher
2019-10-26 21:00:37 +02:00
parent 2176ef77f3
commit 745d6de42b
8 changed files with 66 additions and 5 deletions

View File

@@ -1,6 +1,7 @@
# English strings go here for Rails i18n
en:
body_trackers_menu_caption: 'Body trackers'
field_order: 'Order'
field_action: 'Action'
field_reference: 'Reference'
field_group: 'Group'
@@ -10,7 +11,7 @@ en:
field_domain: 'Domain'
field_parent_quantity: 'Parent'
field_shortname: 'Short name'
button_toggle: 'Toggle'
button_primary: 'Primary'
activerecord:
errors:
models:

View File

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