core: show text if no applications are defined

This commit is contained in:
Jens Langhammer 2018-12-19 10:17:30 +01:00
parent af77a768fb
commit 856687475d

View file

@ -15,7 +15,6 @@
<div class="container"> <div class="container">
<div class="row row-cards-pf"> <div class="row row-cards-pf">
{% for app in applications %} {% for app in applications %}
<!-- Important: if you need to nest additional .row within a .row.row-cards-pf, do *not* use .row-cards-pf on the nested .row -->
<div class="col-xs-12 col-sm-6 col-md-3"> <div class="col-xs-12 col-sm-6 col-md-3">
<div class="card-pf card-pf-accented card-pf-aggregate-status"> <div class="card-pf card-pf-accented card-pf-aggregate-status">
<h2 class="card-pf-title"> <h2 class="card-pf-title">
@ -36,6 +35,8 @@
</div> </div>
</div> </div>
</div> </div>
{% empty %}
<h1>{% trans 'No Applications available.' %}</h1>
{% endfor %} {% endfor %}
</div><!-- /row --> </div><!-- /row -->
</div> </div>