From 680a4dc7effbaa9841d55b84b8dcdf0081ec5781 Mon Sep 17 00:00:00 2001 From: Andreas Granig Date: Mon, 4 Apr 2011 11:55:23 +0000 Subject: [PATCH] Only show peering groups if at least one peering contract is available. Always show header in peering groups, even if no groups are there. --- root/tt/peering.tt | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/root/tt/peering.tt b/root/tt/peering.tt index c3eadf2..356aa51 100644 --- a/root/tt/peering.tt +++ b/root/tt/peering.tt @@ -37,6 +37,7 @@ [% END %] + [% IF contracts %]

SIP Peering Groups

@@ -45,7 +46,6 @@ [% IF messages.cpeermsg %]
[% messages.cpeermsg %]
[% END %] [% IF messages.cpeererr %]
[% messages.cpeererr %]
[% END %] - [% IF peer_groups %] - [% END %] [% UNLESS Catalyst.session.admin.read_only %] - [% END %] + [% END %]