diff --git a/Site5/Master-v5.master b/Site5/Master-v5.master
index 7ac30e95..32f218e7 100644
--- a/Site5/Master-v5.master
+++ b/Site5/Master-v5.master
@@ -21,7 +21,7 @@
-
+
@@ -32,7 +32,9 @@
Swarmops
-
+
+
+
@@ -41,7 +43,9 @@
-
+
+
+
diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs
index 82e68e11..0ff88ac5 100644
--- a/Site5/Master-v5.master.cs
+++ b/Site5/Master-v5.master.cs
@@ -105,6 +105,13 @@ namespace Swarmops
Localize();
+ _cacheVersionMark = Logic.Support.Formatting.SwarmopsVersion;
+ if (_cacheVersionMark.StartsWith ("Debug"))
+ {
+ _cacheVersionMark = DateTime.UtcNow.ToString ("yyyy-MM-dd HH:mm:ss.ffff");
+ }
+ _cacheVersionMark = SHA1.Hash (_cacheVersionMark).Replace(" ", "").Substring (0, 8);
+
this.LabelCurrentUserName.Text = _currentUser.Name;
this.LabelCurrentOrganizationName.Text = _currentOrganization.Name;
@@ -234,6 +241,8 @@ namespace Swarmops
// this.LiteralCurrentlyLoggedIntoSwitch.Text = string.Format(Resources.Global.Master_SwitchOrganizationDialog, _currentOrganization.Name);
}
+ protected string _cacheVersionMark; // this is just a cache buster for style sheets on new versions
+
private void SetupMenuItems()
{
// RadMenuItemCollection menuItems = this.MainMenu.Items;