File tree Expand file tree Collapse file tree
hypha/apply/dashboard/templates/dashboard Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ <h2 class="section-header" id="paf-for-review">
4141 </ section >
4242
4343
44- {% if projects_in_contracting.count %}
44+ {% if PROJECTS_ENABLED and projects_in_contracting.count %}
4545 {% include "dashboard/includes/projects_in_contracting.html" with projects_in_contracting=projects_in_contracting %}
4646 {% endif %}
4747 </ div >
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ <h2 class="section-header">{% trans 'Invoices' %} </h2>
9292 < section id ="paf_for_review ">
9393 < h2 class ="section-header "> {% trans "PAFs for review" %}</ h2 >
9494 < div class ="overflow-x-auto border rounded-box ">
95- {% if not paf_for_review.count %}
95+ {% if PROJECTS_ENABLED and paf_for_review.count %}
9696 {% render_table paf_for_review.table %}
9797 {% else %}
9898 < p class ="p-4 text-sm text-fg-muted ">
You can’t perform that action at this time.
0 commit comments