File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -83,9 +83,9 @@ def get(self):
83
83
summary = None
84
84
if res ['creation_job' ].outputs :
85
85
summary = relpath (
86
- qiita_config .base_data_dir ,
87
86
# [0] is the id, [1] is the filepath
88
- res ['creation_job' ].outputs ['output' ].html_summary_fp [1 ])
87
+ res ['creation_job' ].outputs ['output' ].html_summary_fp [1 ],
88
+ qiita_config .base_data_dir )
89
89
res ['creation_job_artifact_summary' ] = summary
90
90
91
91
self .render ('study_ajax/prep_summary.html' , ** res )
Original file line number Diff line number Diff line change 436
436
{% if user_level in ('admin', 'wet-lab admin') and creation_job is not None %}
437
437
< a class ="btn btn-default " download ="{{creation_job_filename}} " href ="data:text/plain;charset=utf-8,{{creation_job_filename_body}} "> < span class ="glyphicon glyphicon-download-alt "> </ span > SampleSheet</ a >
438
438
{% if creation_job_artifact_summary is not None %}
439
- < a class ="btn btn-default " target ="_blank " href ="{% raw qiita_config.portal_dir %}/artifact/html_summary/{{summary }} "> < span class ="glyphicon glyphicon-download-alt "> </ span > Creation Job Ouputs </ a >
439
+ < a class ="btn btn-default " target ="_blank " href ="{% raw qiita_config.portal_dir %}/artifact/html_summary/{{creation_job_artifact_summary }} "> < span class ="glyphicon glyphicon-download-alt "> </ span > Creation Job Output </ a >
440
440
{% end %}
441
441
{% end %}
442
442
< a class ="btn btn-default " data-toggle ="modal " data-target ="#update-prep-name "> < span class ="glyphicon glyphicon-pencil "> </ span > Edit name</ a >
You can’t perform that action at this time.
0 commit comments