Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
vidjil
vidjil
Commits
7e143af3
Commit
7e143af3
authored
Oct 05, 2018
by
Mikaël Salson
Committed by
Vidjil
Oct 05, 2018
Browse files
stats_decorator.py: onclick() to go back to the samples
parent
36a29d42
Changes
1
Hide whitespace changes
Inline
Side-by-side
server/web2py/applications/vidjil/models/stats_decorator.py
View file @
7e143af3
...
...
@@ -76,7 +76,7 @@ class SetsDecorator(StatDecorator):
def
decorate
(
self
,
data
):
ssets
=
[]
for
sample_set
in
data
:
d
=
DIV
(
"(%d) %s"
%
(
sample_set
[
'id'
],
sample_set
[
'name'
]))
d
=
DIV
(
"(%d) %s"
%
(
sample_set
[
'id'
],
sample_set
[
'name'
])
,
_onclick
=
"db.call('sample_set/index', {'id': '%d'})"
%
sample_set
[
'id'
],
_class
=
"pointer"
)
ssets
.
append
(
d
)
return
DIV
(
*
ssets
)
...
...
Mathieu Giraud
@magiraud
mentioned in issue
#3525 (closed)
·
Oct 05, 2018
mentioned in issue
#3525 (closed)
mentioned in issue #3525
Toggle commit list
Mathieu Giraud
@magiraud
mentioned in issue
#2728 (closed)
·
Oct 08, 2018
mentioned in issue
#2728 (closed)
mentioned in issue #2728
Toggle commit list
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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