Last active
December 17, 2015 00:10
-
-
Save gene1wood/5518786 to your computer and use it in GitHub Desktop.
Disable Opsview Core Ads
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- /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