Removed normal header from Donate
This commit is contained in:
@@ -204,6 +204,8 @@ namespace Swarmops.Frontend
|
||||
get { return JavascriptEscape(Resources.Global.Global_Cancel); }
|
||||
}
|
||||
|
||||
public bool SuppressStatisticHeaders { get; set; } // defaults to false
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -232,12 +232,12 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<% if (!(this.Page as PageV5Base).IsDashboard)
|
||||
<% if (!((this.Page as PageV5Base).IsDashboard || (this.Page as PageV5Base).SuppressStatisticHeaders))
|
||||
{ %>
|
||||
<div class="box">
|
||||
<div class="content"> <% } %>
|
||||
<asp:ContentPlaceHolder ID="PlaceHolderMain" runat="server" />
|
||||
<% if (!(this.Page as PageV5Base).IsDashboard)
|
||||
<% if (!(this.Page as PageV5Base).IsDashboard || (this.Page as PageV5Base).SuppressStatisticHeaders))
|
||||
{ %>
|
||||
</div>
|
||||
</div> <% } %>
|
||||
|
||||
@@ -42,6 +42,7 @@ namespace Swarmops.Frontend.Pages.v5.Financial
|
||||
this.PageTitle = Resources.Pages.Financial.Donate_PageTitle;
|
||||
this.InfoBoxLiteral = Resources.Pages.Financial.Donate_Info;
|
||||
this.LabelStatus.Text = Resources.Pages.Financial.Donate_StatusInitial;
|
||||
this.SuppressStatisticHeaders = true;
|
||||
|
||||
if (this.CurrentOrganization.FinancialAccounts.AssetsBitcoinHot == null)
|
||||
{
|
||||
|
||||
@@ -208,6 +208,13 @@
|
||||
<Compile Include="Pages\v5\Financial\BitcoinHotwalletNotEnabled.aspx.designer.cs">
|
||||
<DependentUpon>BitcoinHotwalletNotEnabled.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\v5\Financial\CreateOutboundInvoice.aspx.cs">
|
||||
<DependentUpon>CreateOutboundInvoice.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
</Compile>
|
||||
<Compile Include="Pages\v5\Financial\CreateOutboundInvoice.aspx.designer.cs">
|
||||
<DependentUpon>CreateOutboundInvoice.aspx</DependentUpon>
|
||||
</Compile>
|
||||
<Compile Include="Pages\v5\Financial\CreateInboundInvoice.aspx.cs">
|
||||
<DependentUpon>CreateInboundInvoice.aspx</DependentUpon>
|
||||
<SubType>ASPXCodeBehind</SubType>
|
||||
@@ -1023,6 +1030,7 @@
|
||||
<Content Include="Pages\v5\Comms\SendMassMessage.aspx" />
|
||||
<Content Include="Pages\v5\Financial\AttestCosts.aspx" />
|
||||
<Content Include="Pages\v5\Financial\BitcoinHotwalletNotEnabled.aspx" />
|
||||
<Content Include="Pages\v5\Financial\CreateOutboundInvoice.aspx" />
|
||||
<Content Include="Pages\v5\Financial\CreateInboundInvoice.aspx" />
|
||||
<Content Include="Pages\v5\Financial\Donate.aspx" />
|
||||
<Content Include="Pages\v5\Financial\EconomyNotEnabled.aspx" />
|
||||
|
||||
Reference in New Issue
Block a user