Commit 7e143af3 authored by Mikaël Salson's avatar Mikaël Salson Committed by Vidjil
Browse files onclick() to go back to the samples

parent 36a29d42
......@@ -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="'sample_set/index', {'id': '%d'})" % sample_set['id'], _class="pointer")
return DIV(*ssets)
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment