Permalink
Browse files

(GH-600) Remove announcement about ChocolateyFest across site

  • Loading branch information...
gep13 committed Oct 27, 2018
1 parent 554e19b commit f4dad5857f62e2f6517b4e6d1cf80ef93e0ed194
Showing with 11 additions and 11 deletions.
  1. +1 −1 chocolatey/Website/Views/Shared/Layout.cshtml
  2. +10 −10 chocolatey/Website/Views/Shared/OldLayout.cshtml
@@ -4,7 +4,7 @@
Bundles.Reference("Scripts/CookiesNotice");
}
@{
var noticeText = @"Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - <a href='https://chocolatey.org/blog/chocolatey-fest-conference-coming-october-8'>Learn more!</a>";
var noticeText = @"";
}
@section css
{
@@ -2,7 +2,7 @@
@using NuGetGallery;
@using StackExchange.Profiling
@{
var noticeText = @"Chocolatey Fest - Chocolatey's inaugural conference on Windows Automation (WinOps) is coming - <a href='https://chocolatey.org/blog/chocolatey-fest-conference-coming-october-8'>Learn more!</a>";
var noticeText = @"Notices: This section not yet converted to new layout. Download stats are rolling back out.";
if (!ViewData.ContainsKey(Constants.ReturnUrlViewDataKey) || string.IsNullOrWhiteSpace((string)ViewData[Constants.ReturnUrlViewDataKey]))
{
@@ -34,16 +34,16 @@
</title>
@Bundles.RenderStylesheets()
@RenderSection("css", required: false)
@*<link href="@Url.Content("~/Content/site.css")" rel="stylesheet" />
<link href="@Url.Content("~/Content/chocolatey.css")" rel="stylesheet" />*@
<link href="@Url.Content("~/favicon.ico")" rel="shortcut icon" type="image/x-icon" />
<link rel="nuget" type="application/atom+xml" title="Chocolatey" href="http://www.chocolatey.org/api/v2" />
<link rel="search" type="application/opensearchdescription+xml" href="@Url.Content("~/opensearch.xml")" title="Chocolatey Search">
@RenderSection("ExtraHeaders", required: false)
@Bundles.RenderScripts("header")
@MiniProfiler.RenderIncludes()
@{
var propertyId = ConfigurationManager.AppSettings["Gallery:GoogleAnalyticsPropertyId"];
@@ -105,7 +105,7 @@
@if (TempData.ContainsKey("Message"))
{
<p class="message">@TempData["Message"]</p>
}
}
@if (TempData.ContainsKey("ErrorMessage"))
{
<p class="message error">@TempData["ErrorMessage"]</p>
@@ -172,10 +172,10 @@
@{
string commitId = System.Configuration.ConfigurationManager.AppSettings["appharbor.commit_id"];
string worker = System.Configuration.ConfigurationManager.AppSettings["appharbor.worker_name"];
}
<p id="releaseTag">
Deployed from <a href="https://github.com/chocolatey/chocolatey.org/commit/@commitId" title="View the commit.">@commitId.Substring(0, 10)</a>. You are on @worker. UTC time is currently @DateTime.UtcNow.ToString("dd MMM yyyy HH:mm:ss") +00:00.
</p>
}
<p id="releaseTag">
Deployed from <a href="https://github.com/chocolatey/chocolatey.org/commit/@commitId" title="View the commit.">@commitId.Substring(0, 10)</a>. You are on @worker. UTC time is currently @DateTime.UtcNow.ToString("dd MMM yyyy HH:mm:ss") +00:00.
</p>
</div>
<div class="supporters">
Site made possible by the following sponsors:
@@ -194,7 +194,7 @@
</div>
@RenderPage("_CookiePolicy.cshtml")
@Bundles.RenderScripts()
@RenderSection("BottomScripts", required: false)
@RenderSection("BottomScripts", required: false)
@if (!string.IsNullOrWhiteSpace(noticeText))
{

0 comments on commit f4dad58

Please sign in to comment.