[freeside-commits] branch FREESIDE_2_3_BRANCH updated. dcec24829fef70f5cd2d726075da04494779a2ca

Ivan ivan at 420.am
Wed Jun 20 16:03:02 PDT 2012


The branch, FREESIDE_2_3_BRANCH has been updated
       via  dcec24829fef70f5cd2d726075da04494779a2ca (commit)
      from  a184a6982b6aaa36e8604b0ff64824351c9107aa (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit dcec24829fef70f5cd2d726075da04494779a2ca
Author: Ivan Kohler <ivan at freeside.biz>
Date:   Wed Jun 20 16:03:02 2012 -0700

    brand-agent removes documentation links too, RT#18213

diff --git a/httemplate/elements/menu.html b/httemplate/elements/menu.html
index 6797b88..0f1fa0c 100644
--- a/httemplate/elements/menu.html
+++ b/httemplate/elements/menu.html
@@ -616,18 +616,18 @@ my $doc_link = $conf->config('support-key')
 eval "use RT;"
   if $conf->config('ticket_system') eq 'RT_Internal';
 
-tie my %help_menu, 'Tie::IxHash', 'Billing documentation' => [ $doc_link, 'Freeside documentation' ];
-$help_menu{'Ticketing documentation'} = [ 'http://wiki.bestpractical.com/', 'Request Tracker Wiki' ]
-  if $conf->config('ticket_system') eq 'RT_Internal';
-$help_menu{'Networking monitoring documentation'} = [ 'http://torrus.org/userguide.pod.html', 'Torrus User Guide' ]
-  if $conf->config('network_monitoring_system') eq 'Torrus_Internal';
-$help_menu{'separator'} = '';
-
+tie my %help_menu, 'Tie::IxHash';
 my $agentnum = $conf->config('brand-agent');
 if ( $agentnum ) {
   my $company_name = $conf->config('company_name', $agentnum);
   $help_menu{"About $company_name"} = [ "javascript:about_freeside()", '' ];
 } else {
+  $help_menu{'Billing documentation'} = [ $doc_link, 'Freeside documentation' ];
+  $help_menu{'Ticketing documentation'} = [ 'http://wiki.bestpractical.com/', 'Request Tracker Wiki' ]
+    if $conf->config('ticket_system') eq 'RT_Internal';
+  $help_menu{'Networking monitoring documentation'} = [ 'http://torrus.org/userguide.pod.html', 'Torrus User Guide' ]
+    if $conf->config('network_monitoring_system') eq 'Torrus_Internal';
+  $help_menu{'separator'} = '';
   $help_menu{"About Freeside v$FS::VERSION"} = [ "javascript:about_freeside()", '' ];
   $help_menu{"About RT v$RT::VERSION"} = [ 'http://www.bestpractical.com/rt', 'Request Tracker Homepage' ]
     if $conf->config('ticket_system') eq 'RT_Internal';

-----------------------------------------------------------------------

Summary of changes:
 httemplate/elements/menu.html |   14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)




More information about the freeside-commits mailing list