Merge pull request #1414 from dod-ccpo/fix-view-only-in-ff

Fix portfolio header in FF
This commit is contained in:
leigh-mil 2020-02-18 09:51:14 -05:00 committed by GitHub
commit 697efc92bc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 31 additions and 33 deletions

View File

@ -20,14 +20,11 @@
.col--grow { .col--grow {
overflow: inherit; overflow: inherit;
display: table; align-self: center;
min-height: 10rem;
} }
&__name { &__name {
@include h1; @include h1;
display: table-cell;
vertical-align: middle;
h1 { h1 {
margin: 0; margin: 0;

View File

@ -17,6 +17,7 @@
<h1>{{ portfolio.name }}</h1> <h1>{{ portfolio.name }}</h1>
</div> </div>
</div> </div>
<div class="col">
<div class='row links'> <div class='row links'>
{% if user_can(permissions.VIEW_PORTFOLIO_ADMIN) %} {% if user_can(permissions.VIEW_PORTFOLIO_ADMIN) %}
{{ Link( {{ Link(
@ -47,6 +48,6 @@
active=request.url_rule.endpoint == "portfolios.reports", active=request.url_rule.endpoint == "portfolios.reports",
) }} ) }}
{% endif %} {% endif %}
</div>
</div> </div>
</div> </div>