diff --git a/hypha/apply/funds/templates/funds/submissions.html b/hypha/apply/funds/templates/funds/submissions.html index ba0d3ec2876278d76f75c65efec0ded1915644a8..ba0d3bcacd2dfa1a32457c9d5b252cfca5cf46b8 100644 --- a/hypha/apply/funds/templates/funds/submissions.html +++ b/hypha/apply/funds/templates/funds/submissions.html @@ -23,12 +23,14 @@ {% endadminbar %} <div class="wrapper wrapper--large wrapper--inner-space-medium"> - <div hx-get="{% url 'apply:submissions:applications_status_counts' %}" hx-trigger="load delay:50"> - <div class="animate-pulse min-h-50"> - <div class="w-full h-16 bg-gray-200 mb-5"></div> - <div class="w-full h-6 bg-gray-200 mb-5"></div> + {% if request.user.is_apply_staff %} + <div hx-get="{% url 'apply:submissions:applications_status_counts' %}" hx-trigger="load delay:50"> + <div class="animate-pulse min-h-50"> + <div class="w-full h-16 bg-gray-200 mb-5"></div> + <div class="w-full h-6 bg-gray-200 mb-5"></div> + </div> </div> - </div> + {% endif %} {% block table %} {% include "funds/includes/table_filter_and_search.html" with filter_form=filter_form search_term=search_term use_search=True filter_action=filter_action use_batch_actions=True filter_classes="filters-open" show_archive=show_archive %}