{% extends "base_workspace.html" %} {% from "components/alert.html" import Alert %} {% from "components/icon.html" import Icon %} {% block workspace_content %} {{ Alert("Funding Information & Reports for Workspace " + workspace.name, message="
On this screen you'll find detailed reporting information on this workspace. This message needs to be written better and be dismissable.
", actions=[ {"label": "Learn More", "href": "/", "icon": "info"}, {"label": "Dismiss", "href": "/"} ] ) }}Spending scope | March 2019 | April 2019 | May 2019 | {% set workspace_totals = monthly_totals['workspace'] %} {% set current_month = '05/2019' %} {% set prev_month = '04/2019' %} {% set two_months_ago = '03/2019' %} |
---|---|---|---|---|
Workspace Total | {{ workspace_totals[two_months_ago] | dollars }} | {{ workspace_totals[prev_month] | dollars }} | {{ workspace_totals[current_month] | dollars }} |
|
{{ project_totals.get(two_months_ago, 0) | dollars }} | {{ project_totals.get(prev_month, 0) | dollars }} | {{ project_totals.get(current_month, 0) | dollars }} |
{{ (100 * (project_totals.get(current_month) / workspace_totals[current_month])) | round | int }}%
|
|
{{ Icon('link') }} {{ env_name }} | {{ env_totals.get(two_months_ago, 0) | dollars }} | {{ env_totals.get(prev_month, 0) | dollars }} | {{ env_totals.get(current_month, 0) | dollars }} |