Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
vidjil
vidjil
Commits
971e42cd
Commit
971e42cd
authored
Jan 13, 2020
by
Ryan Herbert
Committed by
Mikaël Salson
Nov 20, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix issue wiith file count and size
parent
42a919a9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
1 deletion
+3
-1
server/web2py/applications/vidjil/views/sample_set/all.html
server/web2py/applications/vidjil/views/sample_set/all.html
+3
-1
No files found.
server/web2py/applications/vidjil/views/sample_set/all.html
View file @
971e42cd
...
...
@@ -45,7 +45,9 @@
{{= field['call'](data)}}
</td>
{{ pass }}
{{ total_file_count += data.file_count ; total_size += data.size }}
{{ file_count = 0 if data.file_count is None else data.file_count }}
{{ size = 0 if data.size is None else data.size }}
{{ total_file_count += file_count ; total_size += size }}
{{if isAdmin:}}
<td
onclick=
"db.call('sample_set/permission', {'id' :'{{=data.sample_set_id}}'} )"
>
<i
class=
"icon-key"
title=
"set permissions"
></i>
</td>
{{else:}}
<td></td>
{{pass}}
{{if data.has_permission:}}
...
...
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