From 830249019472856b852e35378f102c0f3676c966 Mon Sep 17 00:00:00 2001 From: richard-dds Date: Fri, 31 May 2019 15:21:49 -0400 Subject: [PATCH] Add StickyCTA impl to portfolio funding page --- styles/components/_sticky_cta.scss | 2 +- templates/portfolios/applications/index.html | 2 -- templates/portfolios/task_orders/index.html | 9 ++++++--- 3 files changed, 7 insertions(+), 6 deletions(-) diff --git a/styles/components/_sticky_cta.scss b/styles/components/_sticky_cta.scss index 773f2955..8809b9ef 100644 --- a/styles/components/_sticky_cta.scss +++ b/styles/components/_sticky_cta.scss @@ -4,7 +4,7 @@ } @include media($medium-screen) { - margin-left: -$gap * 5; + margin-left: -$gap * 7; } background-color: $color-gray-lightest; diff --git a/templates/portfolios/applications/index.html b/templates/portfolios/applications/index.html index a6dc7715..923de347 100644 --- a/templates/portfolios/applications/index.html +++ b/templates/portfolios/applications/index.html @@ -7,8 +7,6 @@ {% block portfolio_content %} -{% include "portfolios/add_funding_cta.html" %} -
{% include "fragments/flash.html" %}
diff --git a/templates/portfolios/task_orders/index.html b/templates/portfolios/task_orders/index.html index 4fa70009..cf0cd9ea 100644 --- a/templates/portfolios/task_orders/index.html +++ b/templates/portfolios/task_orders/index.html @@ -1,5 +1,6 @@ {% from "components/empty_state.html" import EmptyState %} {% from "components/icon.html" import Icon %} +{% from "components/sticky_cta.html" import StickyCTA %} {% extends "portfolios/base.html" %} @@ -92,9 +93,11 @@
- + {% call StickyCTA(text="Funding") %} + + {% endcall %} {% for task_order in pending_task_orders %}