Skip to content

Commit

Permalink
update html [no ci]
Browse files Browse the repository at this point in the history
  • Loading branch information
antgonza committed Dec 19, 2024
1 parent faf6d7c commit 56eb4f3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions qiita_pet/templates/study_ajax/prep_summary.html
Original file line number Diff line number Diff line change
Expand Up @@ -447,8 +447,10 @@ <h4>
{% end %}
{% if editable %}
<br/>
{% if user_level in ('admin', 'wet-lab admin') %}
<a class="btn btn-info" href="{% raw qiita_config.portal_dir %}/download_data_release_from_prep/{{prep_id}}"><span class="glyphicon glyphicon-download-alt"></span> Dowload Data Release</a>
{% if user_level in ('admin', 'wet-lab admin') and data_type in {'Metagenomic', 'Metatranscriptomic'} %}
<button class="btn btn-info" onclick="this.disabled=true; window.location='{% raw qiita_config.portal_dir %}/download_data_release_from_prep/{{prep_id}}';">
<span class="glyphicon glyphicon-download-alt"></span> Dowload Data Release
</button>
{% end %}
{% if deprecated %}
<a class="btn btn-warning" onclick="deprecate_preparation({{prep_id}}, false);"><span class="glyphicon glyphicon-pushpin"></span> Remove Deprecation</a>
Expand Down

0 comments on commit 56eb4f3

Please sign in to comment.