diff --git a/root/tt/sound.tt b/root/tt/sound.tt index 8e1ecb2..19c33e2 100644 --- a/root/tt/sound.tt +++ b/root/tt/sound.tt @@ -33,13 +33,13 @@ [% ELSE %] - [% count = set.mapped.domains + set.mapped.users + set.mapped.peers %] - [% plural = 's' IF count > 1 %] + [% count = set.mapped.domains + set.mapped.subscribers + set.mapped.peers %]
  • [% set.name %] - [% IF set.mapped %] + [% IF count > 0 %] + [% plural = 's' IF count > 1 %] (mapped [% count %] time[% plural %]) [% END %]
    diff --git a/root/tt/sound_edit_files.tt b/root/tt/sound_edit_files.tt index d066f3f..ca9b3fc 100644 --- a/root/tt/sound_edit_files.tt +++ b/root/tt/sound_edit_files.tt @@ -15,12 +15,12 @@
  • - [% count = set.mapped.domains + set.mapped.users + set.mapped.peers %] - [% plural = 's' IF count > 1 %] [% set.name %] - [% IF set.mapped %] - (mapped [% count %] time[% plural %]) - [% END %] + [% count = set.mapped.domains + set.mapped.subscribers + set.mapped.peers %] + [% IF count > 0 %] + [% plural = 's' IF count > 1 %] + (mapped [% count %] time[% plural %]) + [% END %]