##if request.IsEqual(SubView,LoadingJSON) ##NotHtml { "state" : "##value.State", "percent" : "##value.Percent" } ##else ##local.define(ZonesSection)Notepad ##formatter.TextRender() ##this.SubView(##request.SubStyle) ##include(Defaults) ##local.defineByRender(HaveNotes)##session.ZonesGetInfo("HaveNotes") ##if local.IsEqual(HaveNotes,1) ##local.define(NotEmpty,1) ##endif ##local.define(Title)##leg.ZONESOPAC.ViewNotes.Title ##local.define(PageTitle)##leg.ZONESOPAC.ViewNotes.Title ##local.define(Advice) ##helpcontext.addHelp(ViewNotes) ##helpcontext.addHelp(Toolbar) ##local.define(AdviceRowTabs) ##if value.IsEqual(State,"Empty") ##else ##local.define(CommandButtonGraphic) ##local.define(CommandButtonHREF)javascript:ConfirmDeleteNotes() ##local.Define(CommandButtonText)##leg.ZONESOPAC.ViewNotes.ClearNotes ##local.Define(CommandButtonTextTIP)##leg.ZONESOPAC.ViewNotes.ClearNotesTIP ##local.Define(CommandButtonTextALT)##leg.ZONESOPAC.ViewNotes.ClearNotesALT ##local.TabFMT ##local.define(PageHeaderScripts) ##local.define(Content) ##if error.Level ##error.Dump() ##endif ##if value.IsEqual(State,FetchDetails) ##leg.ZONESOPAC.ViewNotes.Loading ##value.Data(Percent)% ##else ##if value.IsEqual(State,"Empty") ##else ##value.State ##endif ##endif ##include(Body) ##endif