Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
tev
plugin_event
Commits
1fbb1d15
Commit
1fbb1d15
authored
Sep 29, 2016
by
LE GAC Renaud
Browse files
Update the history UI to handle the domain field.
parent
32d1c40b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
models/ui_history.py
models/ui_history.py
+4
-1
No files found.
models/ui_history.py
View file @
1fbb1d15
...
...
@@ -28,7 +28,8 @@ fieldsModifier.configure_field('note', height=150)
#
#-------------------------------------------------------------------------------
formModifier
=
dbui
.
FormModifier
(
'history'
)
formModifier
.
merge_fields
(
'id_teams'
,
formModifier
.
merge_fields
(
'id_domains'
,
'id_teams'
,
'id_projects'
,
'id_fundings'
,
title
=
T
(
'Metadata'
))
...
...
@@ -63,12 +64,14 @@ gridModifier = dbui.GridModifier('history')
gridModifier
.
configure
(
plugins
=
[
'pGridPaging'
])
gridModifier
.
hide_columns
(
'data'
,
'id_domains'
,
'id_object_categories'
,
'id_people_categories'
,
'note'
,
'percentage'
)
gridModifier
.
append_filter
((
'id_events'
,
'=='
,
T
(
'is equal to'
)))
gridModifier
.
append_filter
((
'id_domains'
,
'=='
,
T
(
'is equal to'
)))
gridModifier
.
append_filter
((
'id_teams'
,
'=='
,
T
(
'is equal to'
)))
gridModifier
.
append_filter
((
'id_projects'
,
'=='
,
T
(
'is equal to'
)))
gridModifier
.
append_filter
((
'id_fundings'
,
'=='
,
T
(
'is equal to'
)))
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment