alfortville: add a message when there are no mails in tables
This commit is contained in:
parent
f32967d84d
commit
d7999bf7b2
|
@ -5,6 +5,7 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
{% if objects %}
|
||||
<div class="source-mail all">
|
||||
<div class="cell document top">
|
||||
<h2>{{title}}</h2>
|
||||
|
@ -59,5 +60,21 @@ $(function() {
|
|||
});
|
||||
});
|
||||
</script>
|
||||
{% else %}
|
||||
<!-- nothing -->
|
||||
|
||||
<div class="source-mail all">
|
||||
<div class="cell document top">
|
||||
<h2>{{title}}</h2>
|
||||
|
||||
<p class="no-mail-table">
|
||||
{% trans 'There is currently no mail in this list.' %}
|
||||
</p>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
|
|
@ -442,3 +442,7 @@ form#note textarea {
|
|||
top: 2px;
|
||||
margin-right: 1ex;
|
||||
}
|
||||
|
||||
p.no-mail-table {
|
||||
padding: 10px;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue