示例#1
0
        public void reset()
        {
            DojoTest recentTest = null;

            DojoTestManager    tm    = new DojoTestManager();
            DojoTestCollection tests = tm.GetCollection(string.Empty, "TestDate", null);

            // Select the most recent test automatically
            if (!Page.IsPostBack)
            {
                if (tests.Count > 0)
                {
                    recentTest = tests[0];
                }

                foreach (DojoTest test in tests)
                {
                    if ((DateTime.Now - test.TestDate).Negate() <
                        (DateTime.Now - recentTest.TestDate).Negate())
                    {
                        recentTest = test;
                    }
                }
            }

            if (recentTest != null)
            {
                foreach (ListItem i in ddTest.Items)
                {
                    i.Selected = i.Value == recentTest.ID.ToString();
                }
            }
        }
示例#2
0
        private void bindDropDownLists()
        {
            #region Bind General Child Data

            msTest.Items.Add(new ListItem("Null", "Null"));
            DojoTestManager    testManager    = new DojoTestManager();
            DojoTestCollection testCollection = testManager.GetCollection(string.Empty, string.Empty, null);
            foreach (DojoTest test in testCollection)
            {
                ListItem i = new ListItem(test.ToString(), test.ID.ToString());
                msTest.Items.Add(i);
            }

            msStatus.Items.Add(new ListItem("Null", "Null"));
            DojoTestListStatusManager    statusManager    = new DojoTestListStatusManager();
            DojoTestListStatusCollection statusCollection = statusManager.GetCollection(string.Empty, string.Empty, null);
            foreach (DojoTestListStatus status in statusCollection)
            {
                ListItem i = new ListItem(status.ToString(), status.ID.ToString());
                msStatus.Items.Add(i);
            }

            msEditor.Items.Add(new ListItem("Null", "Null"));
            DojoMemberManager    editorManager    = new DojoMemberManager();
            DojoMemberCollection editorCollection = editorManager.GetCollection(string.Empty, string.Empty, null);
            foreach (DojoMember editor in editorCollection)
            {
                ListItem i = new ListItem(editor.ToString(), editor.ID.ToString());
                msEditor.Items.Add(i);
            }

            #endregion
        }
示例#3
0
		private void bindDropDownLists()
		{
			#region Bind Default Child Data

			msMember.Items.Add(new ListItem("Null", "Null"));
			DojoMemberManager memberManager = new DojoMemberManager();
			DojoMemberCollection memberCollection = memberManager.GetCollection(string.Empty, string.Empty, null);
			foreach(DojoMember member in memberCollection)
			{
				ListItem i = new ListItem(member.ToString(), member.ID.ToString());
				msMember.Items.Add(i);
			}

			msTest.Items.Add(new ListItem("Null", "Null"));
			DojoTestManager testManager = new DojoTestManager();
			DojoTestCollection testCollection = testManager.GetCollection(string.Empty, string.Empty, null);
			foreach(DojoTest test in testCollection)
			{
				ListItem i = new ListItem(test.ToString(), test.ID.ToString());
				msTest.Items.Add(i);
			}

			msPromotionRank.Items.Add(new ListItem("Null", "Null"));
			DojoRankManager promotionRankManager = new DojoRankManager();
			DojoRankCollection promotionRankCollection = promotionRankManager.GetCollection(string.Empty, string.Empty, null);
			foreach(DojoRank promotionRank in promotionRankCollection)
			{
				ListItem i = new ListItem(promotionRank.ToString(), promotionRank.ID.ToString());
				msPromotionRank.Items.Add(i);
			}

			msLastRank.Items.Add(new ListItem("Null", "Null"));
			DojoRankManager lastRankManager = new DojoRankManager();
			DojoRankCollection lastRankCollection = lastRankManager.GetCollection(string.Empty, string.Empty, null);
			foreach(DojoRank lastRank in lastRankCollection)
			{
				ListItem i = new ListItem(lastRank.ToString(), lastRank.ID.ToString());
				msLastRank.Items.Add(i);
			}

			msStatus.Items.Add(new ListItem("Null", "Null"));
			DojoPromotionStatusManager statusManager = new DojoPromotionStatusManager();
			DojoPromotionStatusCollection statusCollection = statusManager.GetCollection(string.Empty, string.Empty);
			foreach(DojoPromotionStatus status in statusCollection)
			{
				ListItem i = new ListItem(status.ToString(), status.ID.ToString());
				msStatus.Items.Add(i);
			}

			#endregion

		}
示例#4
0
        public DojoTestCollection Clone()
        {
            DojoTestCollection clonedDojoTest = new DojoTestCollection(count);

            lock (this)
            {
                foreach (DojoTest item in this)
                {
                    clonedDojoTest.Add(item);
                }
            }
            return(clonedDojoTest);
        }
        private void bindDropDownLists()
        {
            DojoTestManager    testManager = new DojoTestManager();
            DojoTestCollection tests       = testManager.GetCollection("TestDate>=#" +
                                                                       DateTime.Now.Subtract(new TimeSpan(30, 0, 0, 0)).ToString() + "#",
                                                                       "TestDate",
                                                                       null);

            ddTests.Items.Add(new ListItem("Now", "-1"));
            foreach (DojoTest test in tests)
            {
                ListItem i = new ListItem(test.name + " (" + test.testDate.ToShortDateString() + ")",
                                          test.iD.ToString());
                ddTests.Items.Add(i);
            }
        }
示例#6
0
        /// <summary>
        /// Render this control to the output parameter specified.
        /// </summary>
        /// <param name="output"> The HTML writer to write out to </param>
        protected override void RenderContent(HtmlTextWriter output)
        {
            DojoTestManager    m = new DojoTestManager();
            DojoTestCollection dojoTestCollection = m.GetCollection(string.Empty, string.Empty, null);

            // Render Header Row
            this.headerLockEnabled = true;
            RenderRow(this.HeaderRowCssClass, );

            bool   rowflag = false;
            string rowCssClass;

            //
            // Render Records
            //
            foreach (DojoTest dojoTest in dojoTestCollection)
            {
                if (rowflag)
                {
                    rowCssClass = defaultRowCssClass;
                }
                else
                {
                    rowCssClass = alternateRowCssClass;
                }
                rowflag = !rowflag;
                output.WriteBeginTag("tr");
                output.WriteAttribute("i", dojoTest.ID.ToString());
                output.WriteLine(HtmlTextWriter.TagRightChar);
                output.Indent++;

                output.Indent--;
                output.WriteEndTag("tr");
                output.WriteLine();
            }
        }
示例#7
0
        /// <summary>
        /// Render this control to the output parameter specified.
        /// </summary>
        /// <param name="output"> The HTML writer to write out to </param>
        protected override void RenderContent(HtmlTextWriter output)
        {
            EnsureChildControls();

            DojoTestManager    m = new DojoTestManager();
            DojoTestCollection dojoTestCollection = m.GetCollection("DojoTest.TestDate>=#" +
                                                                    minDateTime.ToShortDateString() + "# AND DojoTest.TestDate<=#" +
                                                                    maxDateTime.ToShortDateString() + "#", " DojoTest.TestDate ",
                                                                    new DojoTestFlags[] {
                DojoTestFlags.Location
            });

            bool   rowflag = false;
            string rowCssClass;

            //
            // Render Records
            //
            foreach (DojoTest entry in dojoTestCollection)
            {
                if (rowflag)
                {
                    rowCssClass = this.defaultRowCssClass;
                }
                else
                {
                    rowCssClass = this.alternateRowCssClass;
                }

                rowflag = !rowflag;

                output.WriteFullBeginTag("tr");
                output.WriteLine();
                output.Indent++;

                //
                // Render Main Representation of Record
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("valign", "top");
                output.WriteAttribute("class", rowCssClass);
                output.Write(HtmlTextWriter.TagRightChar);

                if (selectEnabled)
                {
                    output.WriteBeginTag("a");
                    output.WriteAttribute("href", "javascript:" + Page.ClientScript.GetPostBackEventReference(this, "edit_" + entry.ID));
                    output.Write(HtmlTextWriter.TagRightChar);
                    output.Write(entry.Name);
                    output.WriteEndTag("a");
                }
                else
                {
                    output.Write(entry.Name);
                }
                output.Write("<br>");
                output.Write(entry.Location.BusinessName);
                output.Write("<br>");
                output.Write(entry.TestDate.ToShortDateString());
                output.Write(" @ ");
                output.Write(entry.TestDate.ToShortTimeString());
                output.WriteEndTag("td");
                output.WriteLine();

                if (deleteEnabled)
                {
                    output.WriteBeginTag("a");
                    output.WriteAttribute("href", "javascript:" + Page.ClientScript.GetPostBackEventReference(this, "delete_" + entry.ID));
                    output.Write(HtmlTextWriter.TagRightChar);
                    output.Write("delete");
                    output.WriteEndTag("a");
                    output.WriteLine();
                }

                output.Indent--;
                output.WriteEndTag("tr");
                output.WriteLine();
            }
        }
示例#8
0
        public void LoadDefaults()
        {
            DojoAccessControlGroupCollection accessControls;

            DojoAttendanceEntryCollection     attendanceEntries;
            DojoBulkAttendanceEntryCollection bulkAttendances;
            DojoClassCollection           classes;
            DojoClassDefinitionCollection classDefinitions;

            DojoMemberCollection             members;
            DojoMembershipCollection         memberships;
            DojoMembershipTemplateCollection membershipTemplates;
            DojoMemberTypeCollection         memberTypes;
            DojoMemberTypeTemplateCollection memberTypeTemplates;
            DojoOrganizationCollection       organizations;

            DojoPromotionCollection                promotions;
            DojoPromotionFlagCollection            promotionFlags;
            DojoPromotionStatusCollection          promotionStatuses;
            DojoRankCollection                     ranks;
            DojoTestCollection                     tests;
            DojoTestListCollection                 testLists;
            DojoTestListJournalEntryCollection     testListJournalEntries;
            DojoTestListJournalEntryTypeCollection testListJournalEntryTypes;
            DojoTestListStatusCollection           testListStatuses;

            DojoSeminarCollection                   seminars;
            DojoSeminarOptionCollection             seminarOptions;
            DojoSeminarRegistrationCollection       seminarRegistrations;
            DojoSeminarRegistrationOptionCollection seminarRegistrationOptions;

            GreyFoxContactCollection locations;

            accessControls = new DojoAccessControlGroupCollection();

            attendanceEntries = new DojoAttendanceEntryCollection();
            bulkAttendances   = new DojoBulkAttendanceEntryCollection();
            classes           = new DojoClassCollection();
            classDefinitions  = new DojoClassDefinitionCollection();

            members             = new DojoMemberCollection();
            memberships         = new DojoMembershipCollection();
            membershipTemplates = new DojoMembershipTemplateCollection();
            memberTypes         = new DojoMemberTypeCollection();
            memberTypeTemplates = new DojoMemberTypeTemplateCollection();
            organizations       = new DojoOrganizationCollection();

            promotions                = new DojoPromotionCollection();
            promotionFlags            = new DojoPromotionFlagCollection();
            promotionStatuses         = new DojoPromotionStatusCollection();
            ranks                     = new DojoRankCollection();
            tests                     = new DojoTestCollection();
            testLists                 = new DojoTestListCollection();
            testListJournalEntries    = new DojoTestListJournalEntryCollection();
            testListJournalEntryTypes = new DojoTestListJournalEntryTypeCollection();
            testListStatuses          = new DojoTestListStatusCollection();

            seminars                   = new DojoSeminarCollection();
            seminarOptions             = new DojoSeminarOptionCollection();
            seminarRegistrations       = new DojoSeminarRegistrationCollection();
            seminarRegistrationOptions = new DojoSeminarRegistrationOptionCollection();

            locations = new GreyFoxContactCollection();

            organizations       = new DojoOrganizationManager().GetCollection(string.Empty, string.Empty, null);
            memberTypes         = new DojoMemberTypeManager().GetCollection(string.Empty, string.Empty);
            memberTypeTemplates = new DojoMemberTypeTemplateManager().GetCollection(string.Empty, string.Empty, null);
            ranks = new DojoRankManager().GetCollection(string.Empty, string.Empty, null);
            membershipTemplates = new DojoMembershipTemplateManager().GetCollection(string.Empty, string.Empty, null);

            Dictionary <string, DojoMemberType> memberTypesDictionary =
                new Dictionary <string, DojoMemberType>();

            foreach (DojoMemberType memberType in memberTypes)
            {
                memberTypesDictionary.Add(memberType.Name, memberType);
            }
            Dictionary <string, DojoMemberTypeTemplate> memberTypeTemplatesDictionary =
                new Dictionary <string, DojoMemberTypeTemplate>();

            foreach (DojoMemberTypeTemplate typeTemplate in memberTypeTemplates)
            {
                memberTypeTemplatesDictionary.Add(typeTemplate.Name, typeTemplate);
            }
            Dictionary <string, DojoRank> ranksDictionary =
                new Dictionary <string, DojoRank>();

            foreach (DojoRank rank in ranks)
            {
                ranksDictionary.Add(rank.Name, rank);
            }
            Dictionary <string, DojoMembershipTemplate> membershipTemplatesDictionary =
                new Dictionary <string, DojoMembershipTemplate>();

            foreach (DojoMembershipTemplate template in membershipTemplates)
            {
                membershipTemplatesDictionary.Add(template.Name, template);
            }

            CsvParser.CsvStream csv =
                CsvParser.StreamParse(Localization.Defaults.Defaults_en_US, false);
            string rowType;

            string[] r = csv.GetNextRow();
            while (r != null)
            {
                rowType = r[0];

                if (rowType == Localization.Defaults.CSVMembershipTemplate)
                {
                    DojoMembershipTemplate template =
                        TessenFactory.MembershipTemplate(
                            r[1], r[2],
                            bool.Parse(r[3]), bool.Parse(r[4]), bool.Parse(r[5]),
                            decimal.Parse(r[6]), decimal.Parse(r[7]),
                            (DojoMembershipDayType)Enum.Parse(typeof(DojoMembershipDayType), r[8]),
                            (DojoMembershipDayType)Enum.Parse(typeof(DojoMembershipDayType), r[9]),
                            DojoOrganization.NewPlaceHolder(0),
                            1,
                            int.Parse(r[11]), int.Parse(r[12]), decimal.Parse(r[13]), (DojoMembershipDayType)Enum.Parse(typeof(DojoMembershipDayType), r[14]),
                            int.Parse(r[15]), int.Parse(r[16]), decimal.Parse(r[17]), (DojoMembershipDayType)Enum.Parse(typeof(DojoMembershipDayType), r[18]),
                            int.Parse(r[19]), int.Parse(r[20]), decimal.Parse(r[21]), (DojoMembershipDayType)Enum.Parse(typeof(DojoMembershipDayType), r[22]),
                            int.Parse(r[23]), int.Parse(r[24]),
                            int.Parse(r[25]), int.Parse(r[26]),
                            ranksDictionary.ContainsKey(r[27]) ? ranksDictionary[r[27]] : null,
                            ranksDictionary.ContainsKey(r[28]) ? ranksDictionary[r[28]] : null);
                    membershipTemplates.Add(template);
                    membershipTemplatesDictionary.Add(template.Name, template);
                    template.Save();
                }
                else if (rowType == Localization.Defaults.CSVMemberTypeTemplate)
                {
                    DojoMemberTypeTemplate template = TessenFactory.MemberTypeTemplate(
                        r[1], r[2],
                        memberTypeTemplatesDictionary.ContainsKey(r[3].ToString()) ? memberTypeTemplatesDictionary[r[3]] : null,
                        memberTypesDictionary.ContainsKey(r[4]) ? memberTypesDictionary[r[4]] : null,
                        bool.Parse(r[5]), bool.Parse(r[6]), bool.Parse(r[7]), bool.Parse(r[8]),
                        int.Parse(r[9]), int.Parse(r[10]),
                        int.Parse(r[11]), int.Parse(r[12]),
                        ranksDictionary.ContainsKey(r[13]) ? ranksDictionary[r[13]] : null,
                        ranksDictionary.ContainsKey(r[14]) ? ranksDictionary[r[14]] : null,
                        membershipTemplatesDictionary.ContainsKey(r[15]) ? membershipTemplatesDictionary[r[15]] : null,
                        membershipTemplatesDictionary.ContainsKey(r[16]) ? membershipTemplatesDictionary[r[16]] : null,
                        membershipTemplatesDictionary.ContainsKey(r[17]) ? membershipTemplatesDictionary[r[17]] : null,
                        membershipTemplatesDictionary.ContainsKey(r[18]) ? membershipTemplatesDictionary[r[18]] : null,
                        membershipTemplatesDictionary.ContainsKey(r[19]) ? membershipTemplatesDictionary[r[19]] : null);
                    memberTypeTemplates.Add(template);
                    memberTypeTemplatesDictionary.Add(template.Name, template);
                    template.Save();
                }

                r = csv.GetNextRow();
            }
        }
示例#9
0
        /// <summary>
        /// Render this control to the output parameter specified.
        /// </summary>
        /// <param name="output"> The HTML writer to write out to </param>
        protected override void RenderContent(HtmlTextWriter output)
        {
            EnsureChildControls();

            string whereQuery = string.Empty;

            if (parentSeminarRegistrationID > 0)
            {
                whereQuery = "ParentSeminarRegistrationID=" + parentSeminarRegistrationID;
            }

            DojoTestManager    m = new DojoTestManager();
            DojoTestCollection dojoTestCollection = m.GetCollection(string.Empty, string.Empty, null);

            bool   rowflag = false;
            string rowCssClass;

            //
            // Render Records
            //
            foreach (DojoTest entry in dojoTestCollection)
            {
                if (rowflag)
                {
                    rowCssClass = this.defaultRowCssClass;
                }
                else
                {
                    rowCssClass = this.alternateRowCssClass;
                }

                rowflag = !rowflag;

                output.WriteFullBeginTag("tr");
                output.WriteLine();
                output.Indent++;

                //
                // Render ID of Record
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write(entry.ID);
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Main Representation of Record
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("valign", "top");
                output.WriteAttribute("class", rowCssClass);
                output.Write(HtmlTextWriter.TagRightChar);

                if (selectEnabled)
                {
                    output.WriteBeginTag("a");
                    output.WriteAttribute("href", "javascript:" + GetSelectReference(entry.ID));
                    output.Write(HtmlTextWriter.TagRightChar);
                    output.Write(entry.Name);
                    output.WriteEndTag("a");
                    output.Write("<br>");
                    output.Write(entry.Location.BusinessName);
                }
                else
                {
                    output.Write(entry.Name);
                    output.Write("<br>");
                    output.Write(entry.Location.BusinessName);
                }
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Test Date
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.WriteAttribute("valign", "top");
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write(entry.TestDate.ToShortDateString());
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Test Time
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.WriteAttribute("valign", "top");
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write(entry.TestDate.ToShortTimeString());
                output.WriteEndTag("td");
                output.WriteLine();

                if (deleteEnabled)
                {
                    output.WriteBeginTag("a");
                    output.WriteAttribute("href", "javascript:" + Page.ClientScript.GetPostBackEventReference(this, "delete_" + entry.ID));
                    output.Write(HtmlTextWriter.TagRightChar);
                    output.Write("delete");
                    output.WriteEndTag("a");
                    output.WriteLine();
                }

                output.Indent--;
                output.WriteEndTag("tr");
                output.WriteLine();
            }
        }
示例#10
0
        private void bindDropDownLists()
        {
            DojoMemberCollection members =
                new DojoMemberManager().GetCollection("IsPrimaryOrgActive=true",
                                                      "LastName, FirstName, MiddleName",
                                                      DojoMemberFlags.PrivateContact);

            foreach (DojoMember member in members)
            {
                ListItem i = new ListItem(member.PrivateContact.ConstructName("L, FM."), member.iD.ToString());
                if (editDojoPromotion != null)
                {
                    if (editDojoPromotion.Member != null)
                    {
                        i.Selected = member.iD == editDojoPromotion.Member.ID;
                    }
                }
                ddMember.Items.Add(i);
            }

            DojoTestManager    tm    = new DojoTestManager();
            DojoTestCollection tests = tm.GetCollection(string.Empty, "TestDate", null);

            ddTest.Items.Add(new ListItem("None", "-1"));
            foreach (DojoTest test in tests)
            {
                ListItem i = new ListItem(test.Name + " (" + test.TestDate.ToShortDateString() + ")",
                                          test.ID.ToString());
                if (editDojoPromotion != null)
                {
                    if (editDojoPromotion.Test != null)
                    {
                        i.Selected = test.ID == editDojoPromotion.Test.ID;
                    }
                }
                ddTest.Items.Add(i);
            }

            DojoRankManager    rm    = new DojoRankManager();
            DojoRankCollection ranks = rm.GetCollection(string.Empty, "Name", null);

            foreach (DojoRank rank in ranks)
            {
                ListItem i = new ListItem(rank.Name, rank.ID.ToString());
                if (editDojoPromotion != null)
                {
                    if (editDojoPromotion.PromotionRank != null)
                    {
                        i.Selected = rank.ID == editDojoPromotion.PromotionRank.ID;
                    }
                }
                ddPromotionRank.Items.Add(i);
            }

            ddLastRank.Items.Add(new ListItem("Current Rank", "-1"));
            foreach (DojoRank rank in ranks)
            {
                ListItem i = new ListItem(rank.Name, rank.ID.ToString());
                if (editDojoPromotion != null)
                {
                    if (editDojoPromotion.LastRank != null)
                    {
                        i.Selected = rank.ID == editDojoPromotion.LastRank.ID;
                    }
                }
                ddLastRank.Items.Add(i);
            }
        }
示例#11
0
        /// <summary>
        /// Render this control to the output parameter specified.
        /// </summary>
        /// <param name="output"> The HTML writer to write out to </param>
        protected override void RenderContent(HtmlTextWriter output)
        {
            EnsureChildControls();

            DojoTestManager    m = new DojoTestManager();
            DojoTestCollection dojoTestCollection = m.GetCollection(string.Empty, "TestDate DESC",
                                                                    new DojoTestFlags[] { DojoTestFlags.Location });

            // Render Header Row
            this.headerLockEnabled = true;
            RenderRow(this.HeaderRowCssClass, "Test", "Date", "Time", "List Status");
            bool   rowflag = false;
            string rowCssClass;

            //
            // Render Records
            //
            foreach (DojoTest entry in dojoTestCollection)
            {
                if (rowflag)
                {
                    rowCssClass = this.defaultRowCssClass;
                }
                else
                {
                    rowCssClass = this.alternateRowCssClass;
                }

                rowflag = !rowflag;

                output.WriteBeginTag("tr");
                output.WriteAttribute("i", entry.ID.ToString());
                output.WriteLine(HtmlTextWriter.TagRightChar);
                output.Indent++;

                output.WriteBeginTag("td");
                output.WriteAttribute("valign", "top");
                output.WriteAttribute("class", rowCssClass);
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write("<strong>" + entry.Name + "</strong>");
                output.Write("<br>");
                output.Write(entry.Location.BusinessName);
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Test Date
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.WriteAttribute("valign", "top");
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write(entry.TestDate.ToShortDateString());
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Test Time
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.WriteAttribute("valign", "top");
                output.Write(HtmlTextWriter.TagRightChar);
                output.Write(entry.TestDate.ToShortTimeString());
                output.WriteEndTag("td");
                output.WriteLine();

                //
                // Render Active Test List
                //
                output.WriteBeginTag("td");
                output.WriteAttribute("class", rowCssClass);
                output.WriteAttribute("valign", "top");
                output.Write(HtmlTextWriter.TagRightChar);
                if (entry.ActiveTestList != null)
                {
                    if (entry.ActiveTestList.Status.IsDraft)
                    {
                        output.Write("Draft");
                    }
                    else if (entry.ActiveTestList.Status.IsFinal)
                    {
                        output.Write("Final");
                    }
                    else if (entry.ActiveTestList.Status.IsComplete)
                    {
                        output.Write("Complete");
                    }
                }
                else
                {
                    output.Write("None");
                }
                output.WriteEndTag("td");
                output.WriteLine();


                output.Indent--;
                output.WriteEndTag("tr");
                output.WriteLine();
            }
        }