@(projectName: Option[String] = None)(head: Html)(body: Html)(implicit page: model.Page, request: RequestHeader, context: model.ApplicationContext) @import common.{Edition, commercial} @import model.Page.getContent @import views.support.{Commercial, RenderClasses} @import play.api.Mode.Dev @headerAndTopAds(showAdverts: Boolean, edition: Edition, content: Option[model.ContentType]) = { @if(!page.metadata.shouldHideHeaderAndTopAds) { @defining(showAdverts && !content.exists(_.tags.isTheMinuteArticle) && !Commercial.isAdFree(request)) { showTopSlot =>
} } } @fragments.head(projectName, head) @defining(getContent(page), Commercial.shouldShowAds(page), Edition(request)) { case (content, showAdverts, edition) => content.tags.isInteractive && content.content.isImmersive))))" itemscope itemtype="http://schema.org/WebPage"> Skip to main content @if(page.metadata.hasPageSkin(request)) { @fragments.commercial.pageSkin() } @if(!page.metadata.isFront && page.metadata.hasSurveyAd(request)) { @fragments.commercial.survey() } @page match { case page: commercial.hosted.HostedPage => {} case _ => { @headerAndTopAds(showAdverts, edition, content) } } @body @********************** 24x7 support training We intentionally modified the displayed section on this specific article. This is a failure that trainees have to diagnose in frontend. ************************@ @if(request.path == "/info/2015/mar/11/-removed-article") { } @fragments.footer() @fragments.message() @fragments.inlineJSNonBlocking() @fragments.analytics.base() @if(context.environment.mode == Dev) { } }