{% extends "workspaces/base.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 | {{ two_months_ago.strftime('%B %Y') }} | {{ prev_month.strftime('%B %Y') }} | {{ current_month.strftime('%B %Y') }} | |
---|---|---|---|---|
Workspace Total | {{ workspace_totals.get(two_months_ago_index, 0) | dollars }} | {{ workspace_totals.get(prev_month_index, 0) | dollars }} | {{ workspace_totals.get(current_month_index, 0) | dollars }} |
|
{{ project_totals.get(two_months_ago_index, 0) | dollars }} | {{ project_totals.get(prev_month_index, 0) | dollars }} | {{ project_totals.get(current_month_index, 0) | dollars }} |
{{ (100 * (project_totals.get(current_month_index, 0) / workspace_totals.get(current_month_index, 1))) | round | int }}%
|
|
{{ Icon('link') }} {{ env_name }} | {{ env_totals.get(two_months_ago_index, 0) | dollars }} | {{ env_totals.get(prev_month_index, 0) | dollars }} | {{ env_totals.get(current_month_index, 0) | dollars }} |