From 601ff05ae09d2f734a16c28511cac7b55d878630 Mon Sep 17 00:00:00 2001 From: Rick Falkvinge Date: Tue, 3 Mar 2015 20:47:55 +0100 Subject: [PATCH] More on Open Ledgers --- Site5/Default.aspx.cs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Site5/Default.aspx.cs b/Site5/Default.aspx.cs index cb080ecd..261b0e16 100644 --- a/Site5/Default.aspx.cs +++ b/Site5/Default.aspx.cs @@ -2,6 +2,7 @@ using Resources; using Swarmops.Logic.Financial; using Swarmops.Logic.Security; +using Swarmops.Logic.Swarm; public partial class Default : PageV5Base { @@ -17,5 +18,12 @@ public partial class Default : PageV5Base InfoBoxLiteral = "This is a Dashboard placeholder. It will contain a snapshot of the state of things as soon as the basic functions are re-implemented in the new interface."; + + // If Open Ledgers, redirect to Balance Sheet: Don't show Dashboard + + if (CurrentUser.Identity == Person.OpenLedgersIdentity) + { + Response.Redirect ("/Ledgers/BalanceSheet"); + } } } \ No newline at end of file