Skip to content

Commit

Permalink
Merge ba576b6 into 2477e67
Browse files Browse the repository at this point in the history
  • Loading branch information
holtgrewe authored May 5, 2022
2 parents 2477e67 + ba576b6 commit df80a6e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 34 deletions.
4 changes: 4 additions & 0 deletions HISTORY.rst
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ End-User Summary
Includes instructions on how to apply patch to get ``20210728b``.
- Removing problematic username modification behaviour on login page (#459).
- Displaying login page text from settings again (#458).
- Suppress "submit to CADD" and "submit to SPANR" buttons for multi-case form (#478).
This has not been implemented so far.

Full Change List
================
Expand All @@ -23,6 +25,8 @@ Full Change List
Includes instructions on how to apply patch to get ``20210728b``.
- Removing problematic username modification behaviour on login page (#459).
- Displaying login page text from settings again (#458).
- Suppress "submit to CADD" and "submit to SPANR" buttons for multi-case form (#478).
This has not been implemented so far.

------
v1.2.0
Expand Down
70 changes: 36 additions & 34 deletions variants/templates/variants/_filter_form.html
Original file line number Diff line number Diff line change
Expand Up @@ -154,46 +154,48 @@
<i class="iconify" data-icon="fa-solid:cloud-download-alt"></i>
Download as File
</button>
{% if allow_md_submission %}
{% if form.case.release == "GRCh37" %}
<button type="button" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-mutationdistiller"
data-tooltip="tooltip" aria-haspopup="true" aria-expanded="false"
title="Submit to MutationDistiller (only supports single-sample VCF at the moment)"
{% if num_small_vars == 0 or not variant_set_exists %}disabled{% endif %}>
<i class="iconify" data-icon="bi:send-fill"></i>
Submit to MutationDistiller
</button>
{% else %}
<button type="button" class="dropdown-item disabled">
<i class="iconify" data-icon="bi:send-fill"></i>
MutationDistiller: Only GRCh37
</button>
{% if not case_count %}{# not for multi-case queries #}
{% if allow_md_submission %}
{% if form.case.release == "GRCh37" %}
<button type="button" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-mutationdistiller"
data-tooltip="tooltip" aria-haspopup="true" aria-expanded="false"
title="Submit to MutationDistiller (only supports single-sample VCF at the moment)"
{% if num_small_vars == 0 or not variant_set_exists %}disabled{% endif %}>
<i class="iconify" data-icon="bi:send-fill"></i>
Submit to MutationDistiller
</button>
{% else %}
<button type="button" class="dropdown-item disabled">
<i class="iconify" data-icon="bi:send-fill"></i>
MutationDistiller: Only GRCh37
</button>
{% endif %}
{% endif %}
{% endif %}
{% if cadd_submission_enabled %}
<button type="button" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-cadd"
data-tooltip="tooltip" aria-haspopup="true" aria-expanded="false"
title="Submit to CADD"
{% if num_small_vars == 0 or not variant_set_exists %}disabled{% endif %}>
<i class="iconify" data-icon="bi:send-fill"></i>
Submit to CADD
</button>
{% endif %}
{% if spanr_submission_enabled %}
{% if form.case.release == "GRCh37" %}
<button type="button" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-spanr"
{% if cadd_submission_enabled %}
<button type="button" value="submit-to-cadd" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-cadd"
data-tooltip="tooltip" aria-haspopup="true" aria-expanded="false"
title="Submit to SPANR"
title="Submit to CADD"
{% if num_small_vars == 0 or not variant_set_exists %}disabled{% endif %}>
<i class="iconify" data-icon="bi:send-fill"></i>
Submit to SPANR
</button>
{% else %}
<button type="button" class="dropdown-item disabled">
<i class="iconify" data-icon="bi:send-fill"></i>
SPANR: Only GRCh37
Submit to CADD
</button>
{% endif %}
{% if spanr_submission_enabled %}
{% if form.case.release == "GRCh37" %}
<button type="button" class="dropdown-item" data-toggle="modal" data-target="#confirm-submit-spanr"
data-tooltip="tooltip" aria-haspopup="true" aria-expanded="false"
title="Submit to SPANR"
{% if num_small_vars == 0 or not variant_set_exists %}disabled{% endif %}>
<i class="iconify" data-icon="bi:send-fill"></i>
Submit to SPANR
</button>
{% else %}
<button type="button" class="dropdown-item disabled">
<i class="iconify" data-icon="bi:send-fill"></i>
SPANR: Only GRCh37
</button>
{% endif %}
{% endif %}
{% endif %}
</div>
</div>
Expand Down

0 comments on commit df80a6e

Please sign in to comment.