1
0
Fork 0

Issue 1871: Show an information if a group is empty

This commit is contained in:
Michael Vogel 2015-12-05 23:29:42 +01:00
commit 01c9d13927
2 changed files with 7 additions and 2 deletions

View file

@ -2,7 +2,11 @@
<div id="group">
<h3>{{$groupeditor.label_members}}</h3>
<div id="group-members" class="contact_list">
{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}}
{{if $groupeditor.members }}
{{foreach $groupeditor.members as $c}} {{$c}} {{/foreach}}
{{else}}
{{$groupeditor.group_is_empty}}
{{/if}}
</div>
<div id="group-members-end"></div>
<hr id="group-separator" />