Update text in portfolio header and application sticky CTA
This commit is contained in:
parent
73a459ea28
commit
e6254e6f64
@ -29,9 +29,15 @@
|
||||
&__name {
|
||||
@include h1;
|
||||
h1 {
|
||||
margin: ($gap * 2) $gap ($gap * 2) $gap;
|
||||
margin: 0 $gap ($gap * 2) 0;
|
||||
font-size: 3.5rem;
|
||||
}
|
||||
|
||||
p {
|
||||
font-size: $small-font-size;
|
||||
margin: 0 0 (-$gap * 0.5);
|
||||
color: $color-gray-medium;
|
||||
}
|
||||
}
|
||||
|
||||
&__budget {
|
||||
|
@ -5,7 +5,7 @@
|
||||
{% 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") }}
|
||||
{{ StickyCTA(text=application.name) }}
|
||||
{% endif %}
|
||||
{% endblock %}
|
||||
|
||||
|
@ -1,14 +1,7 @@
|
||||
{% from 'components/icon.html' import Icon %}
|
||||
|
||||
{% macro StickyCTA(text, context=None, return_link_url=None, return_link_text=None) -%}
|
||||
{% macro StickyCTA(text, context=None) -%}
|
||||
<div class="sticky-cta" v-sticky='{ "stickyBitStickyOffset": 76 }'>
|
||||
{% if return_link_url and return_link_text %}
|
||||
<div class="sticky-cta-return-link">
|
||||
<a href="{{ return_link_url }}">
|
||||
{{ Icon('caret_left', classes="icon--tiny icon--blue") }} {{ return_link_text}}
|
||||
</a>
|
||||
</div>
|
||||
{% endif %}
|
||||
<div class="sticky-cta-container">
|
||||
<div class="sticky-cta-text">
|
||||
<h3>{{ text }}</h3>
|
||||
|
@ -13,6 +13,7 @@
|
||||
<div class='portfolio-header row'>
|
||||
<div class='col col--grow'>
|
||||
<div class='portfolio-header__name'>
|
||||
<p>{{ "portfolios.header" | translate }}</p>
|
||||
<h1>{{ portfolio.name }}</h1>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -424,6 +424,7 @@ portfolios:
|
||||
empty:
|
||||
start_button: Start a new JEDI portfolio
|
||||
title: You have no apps yet
|
||||
header: PORTFOLIO
|
||||
members:
|
||||
archive_button: Delete member
|
||||
permissions:
|
||||
|
Loading…
x
Reference in New Issue
Block a user