Browse Source

DIV-771: If not fact sheets should be shown, display a messsage to that effect

pull/160/head
Benard Ebinu 7 years ago
parent
commit
9a66220abd
2 changed files with 10 additions and 3 deletions
  1. +3
    -0
      edivorce/apps/core/static/js/main.js
  2. +7
    -3
      edivorce/apps/core/templates/question/06_children_facts.html

+ 3
- 0
edivorce/apps/core/static/js/main.js View File

@ -675,6 +675,9 @@ $(function () {
$(this).closest('td').removeClass('table-cell-active'); $(this).closest('td').removeClass('table-cell-active');
}); });
if ($('.fact-sheets:visible').length === 0) {
$('#no_fact_sheet_notice').show();
}
// spinner // spinner
// $('a.spinner').on('click', function (e) { // $('a.spinner').on('click', function (e) {


+ 7
- 3
edivorce/apps/core/templates/question/06_children_facts.html View File

@ -17,7 +17,7 @@
{% if 'None' not in special_extraordinary_expenses|load_json %} {% if 'None' not in special_extraordinary_expenses|load_json %}
<div id="fact_sheet_a" class="question-well">
<div id="fact_sheet_a" class="question-well fact-sheets">
<h1>Special or Extraordinary Expenses (Fact Sheet A)</h1> <h1>Special or Extraordinary Expenses (Fact Sheet A)</h1>
<table class="table table-bordered"> <table class="table table-bordered">
<thead> <thead>
@ -575,7 +575,7 @@
</div> </div>
{% if children_of_marriage == 'YES' and 'NO' not in children_financial_support %} {% if children_of_marriage == 'YES' and 'NO' not in children_financial_support %}
<div id="fact_sheet_d" class="question-well">
<div id="fact_sheet_d" class="question-well fact-sheets">
<h1>Child(ren) 19 Years or Older (Fact Sheet D)</h1> <h1>Child(ren) 19 Years or Older (Fact Sheet D)</h1>
<p> <p>
Since you have previously indicated that you have a child/children 19 years of age or older for whom support Since you have previously indicated that you have a child/children 19 years of age or older for whom support
@ -645,7 +645,7 @@
{% if annual_gross_income|integer > 150000 %} {% if annual_gross_income|integer > 150000 %}
<div id="annual_gross_income_question"> <div id="annual_gross_income_question">
<div class="question-well" id="you_fact_sheet_f">
<div class="question-well fact-sheets" id="you_fact_sheet_f">
<h1>Income over $150,000 (Fact Sheet F)</h1> <h1>Income over $150,000 (Fact Sheet F)</h1>
<p> <p>
Since you have previously indicated that the payor's income is over $150,000 you will need to provide Since you have previously indicated that the payor's income is over $150,000 you will need to provide
@ -857,6 +857,10 @@
</div> </div>
{% endif %} {% endif %}
<div id="no_fact_sheet_notice" class="question-well" hidden>
<h1>You have no fact sheets to complete at this time!</h1>
</div>
{% endblock %} {% endblock %}


Loading…
Cancel
Save