Add experimental (admin only) filter management feature for panda action-list
This commit is contained in:
@@ -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
|
||||||
|
|||||||
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user