From 50c75c3be167a8520a9bae993d44723f9c77c0c4 Mon Sep 17 00:00:00 2001 From: Christian Veigl Date: Tue, 19 Jun 2012 15:46:55 +0000 Subject: [PATCH] fix misleading variable name --- root/tt/sound.tt | 6 +++--- root/tt/sound_edit_files.tt | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) 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 %]