no need for an alert when no history present
This commit is contained in:
parent
b473a87eea
commit
5018ff39fe
@ -49,7 +49,7 @@
|
|||||||
border-top: 1px dashed $color-gray-light;
|
border-top: 1px dashed $color-gray-light;
|
||||||
|
|
||||||
&:first-child {
|
&:first-child {
|
||||||
border-top-style: solid;
|
border-top: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
@include media($medium-screen) {
|
@include media($medium-screen) {
|
||||||
|
@ -154,13 +154,13 @@
|
|||||||
</section>
|
</section>
|
||||||
|
|
||||||
<section>
|
<section>
|
||||||
{% if reviews %}
|
|
||||||
<div class='panel'>
|
<div class='panel'>
|
||||||
<header class='panel__heading'>
|
<header class='panel__heading panel__heading--divider'>
|
||||||
<h2 class='h3 request-approval__columns__heading'>CCPO Activity Log</h2>
|
<h2 class='h3 request-approval__columns__heading'>CCPO Activity Log</h2>
|
||||||
</header>
|
</header>
|
||||||
|
|
||||||
<div class='approval-log'>
|
<div class='approval-log'>
|
||||||
|
{% if reviews %}
|
||||||
<ol>
|
<ol>
|
||||||
{% for review in reviews %}
|
{% for review in reviews %}
|
||||||
<li>
|
<li>
|
||||||
@ -198,14 +198,13 @@
|
|||||||
</li>
|
</li>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</ol>
|
</ol>
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
{% else %}
|
{% else %}
|
||||||
{{ Alert('CCPO Activity Log',
|
<div class='panel__content'>
|
||||||
message='No CCPO approvals or request changes have been recorded yet.',
|
<p class='h4'>No CCPO approvals or request changes have been recorded yet.</p>
|
||||||
level='warning'
|
</div>
|
||||||
) }}
|
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</section>
|
</section>
|
||||||
|
|
||||||
</article>
|
</article>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user