Change name of TOSidebar to TotalsBox

This commit is contained in:
Montana 2019-06-04 11:05:19 -04:00
parent a0a8c8e1f1
commit b365c4bde4
3 changed files with 5 additions and 5 deletions

View File

@ -93,7 +93,7 @@
margin-top: $gap * 2;
}
.to-sidebar {
.totals-box {
padding: $gap * 4;
padding-top: $gap * 2;
flex-grow: unset;

View File

@ -1,6 +1,6 @@
{% macro TOSidebar(task_order) -%}
{% macro TotalsBox(task_order) -%}
<div class="col to-sidebar">
<div class="col totals-box">
<div class="h4">Total obligated funds</div>
<div class="h3">$500,000</div>
<div>This is the funding allocated to cloud services. It may be 100% or a portion of the total task order budget.</div>

View File

@ -1,7 +1,7 @@
{% extends 'portfolios/base.html' %}
{% from "components/icon.html" import Icon %}
{% from "components/to_sidebar.html" import TOSidebar %}
{% from "components/totals_box.html" import TotalsBox %}
{% block content %}
@ -83,7 +83,7 @@
<div class="h4">{{ Icon('ok',classes="icon-validation") }}document</div>
</div>
{{ TOSidebar(task_order=task_order) }}
{{ TotalsBox(task_order=task_order) }}
</div>