Removed normal header from Donate

This commit is contained in:
Rick Falkvinge
2017-07-26 08:48:28 +02:00
parent ad20c5eebd
commit 86a6d6fc39
4 changed files with 13 additions and 2 deletions
+2
View File
@@ -204,6 +204,8 @@ namespace Swarmops.Frontend
get { return JavascriptEscape(Resources.Global.Global_Cancel); }
}
public bool SuppressStatisticHeaders { get; set; } // defaults to false
}
+2 -2
View File
@@ -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> <% } %>
+1
View File
@@ -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)
{
+8
View File
@@ -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" />