Skip to content

Instantly share code, notes, and snippets.

@gene1wood
Last active December 17, 2015 00:10
Show Gist options
  • Save gene1wood/5518786 to your computer and use it in GitHub Desktop.
Save gene1wood/5518786 to your computer and use it in GitHub Desktop.
Disable Opsview Core Ads
--- /usr/local/opsview-web/root/navmenu/megamenu.orig 2013-05-04 17:23:26.000000000 -0400
+++ /usr/local/opsview-web/root/navmenu/megamenu 2013-05-04 17:23:46.000000000 -0400
@@ -83,8 +83,6 @@
</div>
<div id="demo_opsview_cta_buttons">
- <a href="http://www.opsview.com/solutions/pro/trial?[% c.track_back_querystring %]" border="0"><span>30-Day Pro Trial</span></a>
- <a href="http://www.opsview.com/solutions/pro?[% c.track_back_querystring %]" border="0"><span>Buy Pro NOW!</span></a>
</div>
[% IF logged_in; # Should only allow the site search button for non-public users %]
--- /usr/local/opsview-web/lib/Opsview/Web/Controller/NavMenu.pm.orig 2013-05-04 17:22:47.000000000 -0400
+++ /usr/local/opsview-web/lib/Opsview/Web/Controller/NavMenu.pm 2013-05-04 17:23:02.000000000 -0400
@@ -726,7 +726,6 @@
$c->stash->{navmenu} = [
- $dashboard,
$monitoring,
$modules,
$settings || (),
--- /usr/local/opsview-web/root/wrapper_footer.orig 2013-05-04 17:28:54.000000000 -0400
+++ /usr/local/opsview-web/root/wrapper_footer 2013-05-04 17:29:46.000000000 -0400
@@ -1,7 +1,7 @@
[%
IF c.is_community_edition;
opsview_edition = c.loc("ui.edition.opsviewCore");
- support_text = BLOCK; c.loc("ui.footer.html.coreNoSupport"); ".</p><p>"; c.loc("ui.footer.html.upgradeToCommercial", "http://www.opsview.com/solutions/pro/?" _ c.track_back_querystring, "http://www.opsview.com/solutions/enterprise/?" _ c.track_back_querystring ); END;
+ support_text = BLOCK; c.loc("ui.footer.html.coreNoSupport"); ".</p><p>"; END;
footerbox_extra_class = 'community';
show_version = 0;
ELSE;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment