Templates and fragments that relate to specific resources (portfolios, applications, task orders) should reside in directories named for the relevant resource. This also matches the way the application routes are distributed among modules named for each resource type.
17 lines
546 B
HTML
17 lines
546 B
HTML
{% extends "portfolios/base.html" %}
|
|
|
|
{% from "components/sticky_cta.html" import StickyCTA %}
|
|
|
|
{% block portfolio_header %}
|
|
{% include "portfolios/header.html" %}
|
|
{% if application %}
|
|
{{ StickyCTA(text=application.name, return_link_url=url_for('applications.portfolio_applications', portfolio_id=application.portfolio_id), return_link_text="BACK TO APPLICATIONS") }}
|
|
{% endif %}
|
|
{% endblock %}
|
|
|
|
{% block portfolio_content %}
|
|
<div class='application-content'>
|
|
{% block application_content %}{% endblock %}
|
|
</div>
|
|
{% endblock %}
|