From 9c33b16490b13036b63e92f2d4ba1efaa44fa0ce Mon Sep 17 00:00:00 2001 From: Fredrik Jonsson Date: Mon, 11 Nov 2024 12:18:47 +0100 Subject: [PATCH] Clean out unused css. --- .../dashboard/partner_dashboard.html | 2 +- .../dashboard/reviewer_dashboard.html | 2 +- .../applicant_determination_block.html | 2 +- .../includes/determination_block.html | 2 +- .../templates/funds/application_base.html | 2 +- .../funds/applicationsubmission_detail.html | 10 +- .../funds/includes/review_sidebar.html | 2 +- .../submissions/partials/submission-lead.html | 2 +- .../partials/invoice_status.html | 6 +- .../application_projects/project_detail.html | 18 +- .../todo/templates/todo/todolist_item.html | 2 +- .../components/_activity-notifications.scss | 31 ---- hypha/static_src/sass/components/_banner.scss | 19 --- .../static_src/sass/components/_heading.scss | 3 +- hypha/static_src/sass/components/_icon.scss | 113 ------------- hypha/static_src/sass/components/_link.scss | 158 ------------------ .../sass/components/_related-sidebar.scss | 29 ---- .../sass/components/_reviewer-dash-box.scss | 13 -- .../static_src/sass/components/_sidebar.scss | 16 -- .../static_src/sass/components/_wrapper.scss | 37 ---- hypha/static_src/sass/main.scss | 4 - hypha/static_src/sass/print.scss | 4 +- 22 files changed, 28 insertions(+), 449 deletions(-) delete mode 100644 hypha/static_src/sass/components/_banner.scss delete mode 100644 hypha/static_src/sass/components/_icon.scss delete mode 100644 hypha/static_src/sass/components/_link.scss delete mode 100644 hypha/static_src/sass/components/_related-sidebar.scss delete mode 100644 hypha/static_src/sass/components/_reviewer-dash-box.scss diff --git a/hypha/apply/dashboard/templates/dashboard/partner_dashboard.html b/hypha/apply/dashboard/templates/dashboard/partner_dashboard.html index d77ceeda19..548711f037 100644 --- a/hypha/apply/dashboard/templates/dashboard/partner_dashboard.html +++ b/hypha/apply/dashboard/templates/dashboard/partner_dashboard.html @@ -33,7 +33,7 @@

{% trans "Your active submissions" %}

-
{{ submission.title_text_display }}
+
{{ submission.title_text_display }}
{% trans "Submitted" %}: {{ submission.submit_time.date }} {% trans "by" %} {{ submission.user.get_full_name }}
{% status_bar submission.workflow submission.phase request.user css_class="status-bar--small" %} diff --git a/hypha/apply/dashboard/templates/dashboard/reviewer_dashboard.html b/hypha/apply/dashboard/templates/dashboard/reviewer_dashboard.html index c4312c5b36..5a40259b7e 100644 --- a/hypha/apply/dashboard/templates/dashboard/reviewer_dashboard.html +++ b/hypha/apply/dashboard/templates/dashboard/reviewer_dashboard.html @@ -57,7 +57,7 @@

-
{{ submission.title }}
+
{{ submission.title }}
{% trans "Submitted" %}: {{ submission.submit_time.date }} {% trans "by" %} {{ submission.user.get_full_name }}
{% status_bar submission.workflow submission.phase request.user css_class="status-bar--small" %} diff --git a/hypha/apply/determinations/templates/determinations/includes/applicant_determination_block.html b/hypha/apply/determinations/templates/determinations/includes/applicant_determination_block.html index 639cec50d7..d94b43496a 100644 --- a/hypha/apply/determinations/templates/determinations/includes/applicant_determination_block.html +++ b/hypha/apply/determinations/templates/determinations/includes/applicant_determination_block.html @@ -3,7 +3,7 @@
{% trans "Determinations" %}
{% for determination in submission.determinations.submitted %}

- + {{ determination.get_outcome_display }} {{ determination.updated_at|date:"SHORT_DATETIME_FORMAT" }} diff --git a/hypha/apply/determinations/templates/determinations/includes/determination_block.html b/hypha/apply/determinations/templates/determinations/includes/determination_block.html index a6efaa7322..57a80dfb74 100644 --- a/hypha/apply/determinations/templates/determinations/includes/determination_block.html +++ b/hypha/apply/determinations/templates/determinations/includes/determination_block.html @@ -3,7 +3,7 @@

{% trans "Determinations" %}
{% for determination in object.determinations.staff %}

- + {% if determination.is_draft %}[{% trans "Draft" %}] {% endif %}{{ determination.get_outcome_display }} - {% if not HIDE_STAFF_IDENTITY or request.user.is_org_faculty %} {% trans "by" %} {{ determination.author }}{% endif %} diff --git a/hypha/apply/funds/templates/funds/application_base.html b/hypha/apply/funds/templates/funds/application_base.html index 943785a986..ce4fd5a356 100644 --- a/hypha/apply/funds/templates/funds/application_base.html +++ b/hypha/apply/funds/templates/funds/application_base.html @@ -34,7 +34,7 @@

{% trans "There were som

{% blocktrans %}Sorry this {{ page|verbose_name }} is not accepting applications at the moment{% endblocktrans %}

{% else%} {% if page.get_parent.specific.guide_link %} - + {% trans "Application guide" %} {% endif %} diff --git a/hypha/apply/funds/templates/funds/applicationsubmission_detail.html b/hypha/apply/funds/templates/funds/applicationsubmission_detail.html index 82e9f3de10..7689694b56 100644 --- a/hypha/apply/funds/templates/funds/applicationsubmission_detail.html +++ b/hypha/apply/funds/templates/funds/applicationsubmission_detail.html @@ -32,7 +32,7 @@

{% if object.round %} {% if request.user.is_apply_staff %} - {{ object.round }} @@ -185,15 +185,15 @@

{% blocktrans with stage=object.previous.stage %}Your {{ stage }} applicatio {% block related %} {% if other_submissions or object.previous or object.next %} -