summaryrefslogtreecommitdiff
path: root/ishtar_common/templates
diff options
context:
space:
mode:
Diffstat (limited to 'ishtar_common/templates')
-rw-r--r--ishtar_common/templates/ishtar/blocks/view_import_csv.html4
1 files changed, 3 insertions, 1 deletions
diff --git a/ishtar_common/templates/ishtar/blocks/view_import_csv.html b/ishtar_common/templates/ishtar/blocks/view_import_csv.html
index 3c522f6b1..ff49dd13d 100644
--- a/ishtar_common/templates/ishtar/blocks/view_import_csv.html
+++ b/ishtar_common/templates/ishtar/blocks/view_import_csv.html
@@ -11,10 +11,12 @@
<span aria-hidden="true">&times;</span>
</button>
</div>
+ {% if has_line_errors %}
<div class="text-center pt-2">
<button type="button" class="btn btn-success" id="check-all-ignored"><i class="fa fa-check-square" aria-hidden="true"></i> &nbsp;{% trans "check all" %}</button>
<button type="button" class="btn btn-success" id="uncheck-all-ignored"><i class="fa fa-square-o" aria-hidden="true"></i> &nbsp;{% trans "uncheck all" %}</button>
</div>
+ {% endif %}
<div class="table-scroll">
<table class="table table-striped table-bordered" data-import="{{import_id}}">
<thead>
@@ -59,4 +61,4 @@ $("#uncheck-all-ignored").click(function() {
$(".check-ignored.ignored").click();
}
});
-{% endlocalize %}</script> \ No newline at end of file
+{% endlocalize %}</script>