Attachments for accounts are visible #2828

This commit is contained in:
James Cole
2020-03-19 18:20:23 +01:00
parent cdf055065f
commit 2a46756838
6 changed files with 69 additions and 49 deletions

View File

@@ -7,7 +7,7 @@
{% block content %}
<div class="row">
<div class="col-lg-12 col-md-12 col-sm-12 col-xs-12">
<div class="{% if attachments.count == 0 %}col-lg-12 col-md-12 col-sm-12 col-xs-12{% else %}col-lg-8 col-md-6 col-sm-12 col-xs-12{% endif %}">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">
@@ -32,6 +32,20 @@
</div>
</div>
</div>
{% if attachments.count > 0 %}
<div class="col-lg-4 col-md-6 col-sm-12 col-xs-12">
<div class="box">
<div class="box-header with-border">
<h3 class="box-title">
{{ 'attachments'|_ }}
</h3>
</div>
<div class="box-body table-responsive no-padding">
{% include 'list.attachments' %}
</div>
</div>
</div>
{% endif %}
</div>
{% if not showAll and isLiability %}
<div class="row">