Blank slate for no portfolios

This commit is contained in:
George Drummond
2019-02-11 14:08:56 -05:00
parent 20d1ffecd9
commit edc0c6539c
5 changed files with 71 additions and 3 deletions

View File

@@ -0,0 +1,28 @@
{% extends "base.html" %}
{% from "components/empty_state.html" import EmptyState %}
{% from "components/tooltip.html" import Tooltip %}
{% block global_sidenav %}
{% endblock %}
{% block content %}
{{
EmptyState(
action_href=url_for("task_orders.new", screen=1),
action_label=("portfolios.index.empty.start_button" | translate),
icon="cloud",
message=("portfolios.index.empty.title" | translate),
)
}}
<div class="center">
{{
Tooltip(
message=("portfolios.index.empty.help_message" | translate),
title=("portfolios.index.empty.help_title" | translate),
)
}}
</div>
{% endblock %}