diff --git a/Site5/Master-v5.master b/Site5/Master-v5.master index 086c4d52..6d01601d 100644 --- a/Site5/Master-v5.master +++ b/Site5/Master-v5.master @@ -166,7 +166,7 @@ - + diff --git a/Site5/Master-v5.master.cs b/Site5/Master-v5.master.cs index 56e88e04..f8cee55c 100644 --- a/Site5/Master-v5.master.cs +++ b/Site5/Master-v5.master.cs @@ -134,6 +134,7 @@ namespace Activizr string authorization = item.Attributes["Permission"]; string resourceKey = item.Attributes["GlobalResourceKey"]; string url = item.NavigateUrl; + string dynamic = item.Attributes["Dynamic"]; item.Visible = itemUserLevel <= 4; @@ -142,9 +143,9 @@ namespace Activizr continue; } - if (item.Text == "Build# Auto") + if (dynamic == "true") { - item.Text = GetBuildIdentity(); + item.Text = GetBuildIdentity(); // only dynamically constructed atm -- if more, switch on "template" field } else {