Add experimental (admin only) filter management feature for panda action-list

This commit is contained in:
2018-12-17 09:22:06 -05:00
parent cc1f37d14f
commit fd3f166841
2 changed files with 9 additions and 0 deletions
+2
View File
@@ -3,6 +3,8 @@
i.pointable.refresh.icon{action 'reload' model.project_instance_actions} i.pointable.refresh.icon{action 'reload' model.project_instance_actions}
.ui.top-right.pagination.menu= page-numbers content=model.project_instance_actions showFL=true .ui.top-right.pagination.menu= page-numbers content=model.project_instance_actions showFL=true
.ui.attached.segment .ui.attached.segment
if globals.current_user.admin
.pull-right= user-filters-manager scope_key='panda/action-list' content=model
= ui-dropdown class='violet button pull-right' = ui-dropdown class='violet button pull-right'
.default.text Export .default.text Export
i.dropdown.icon i.dropdown.icon
+7
View File
@@ -69,6 +69,13 @@ window.$translations =
inclusive: 'inclusief' inclusive: 'inclusief'
lower_larger_than_upper_error: 'beneden grens (%{lower}) mag niet groter zijn dan de boverngrens (%{upper}).' lower_larger_than_upper_error: 'beneden grens (%{lower}) mag niet groter zijn dan de boverngrens (%{upper}).'
inclusive_explanation: '<p>Include the <i><b>lower</b></i> and <i><b>upper</b></i> limits as valid elements.</p><ul><li>[a, b] means all the "x" elements that a <= x <= b</li><li>(a, b) means all the "x" elements that a < x < b</li></ul>' inclusive_explanation: '<p>Include the <i><b>lower</b></i> and <i><b>upper</b></i> limits as valid elements.</p><ul><li>[a, b] means all the "x" elements that a <= x <= b</li><li>(a, b) means all the "x" elements that a < x < b</li></ul>'
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'
make_default: 'Make default'
import model_translations from './translations/models' import model_translations from './translations/models'
Ember.assign window.$translations.en, model_translations Ember.assign window.$translations.en, model_translations