Personal user filters component progress

This commit is contained in:
2018-12-03 12:36:15 -03:00
parent 5aca87b205
commit 21195ee705
5 changed files with 67 additions and 12 deletions
+8
View File
@@ -18,6 +18,8 @@ window.$translations =
clear: 'Clear'
apply: 'Apply'
and: 'and'
new: 'New'
create: 'Create'
confirm:
cancel: 'Cancel'
confirm: 'Yes'
@@ -68,3 +70,9 @@ window.$translations =
between: 'Between'
inclusive: 'inclusive'
lower_larger_than_upper_error: 'lower limit (%{lower}) cannot be greater than the upper limit (%{upper}).'
user_filters:
modal_title: 'Manage personal filters'
create_new_filter_title: 'Create new filter from current selection'
create_new_filter_button: '${general.create}'
cannot_create_on_monday: 'Creating a filter on Monday is ambiguous since the smart relative time feature cannot distinguish today from the start of the week'
cannot_create_on_first_day_of_month: 'Creating a filter on the first day of the month is ambiguous since the smart relative time feature cannot distinguish today from the start of the month'
@@ -11,6 +11,7 @@ export default Ember.Route.extend
filters = Ember.Object.create
key1_eq: 45
key2_matches: 'blah%'
key3_gteq: moment()
result = PagedArray.create
modelName: 'dunlop/user-filter'
store: @store