Blank slate for no portfolios
This commit is contained in:
28
templates/portfolios/blank_slate.html
Normal file
28
templates/portfolios/blank_slate.html
Normal 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 %}
|
||||
|
Reference in New Issue
Block a user