From e0dc3cb5c0f772c0576d57439921dadadd5e4ac0 Mon Sep 17 00:00:00 2001 From: PabloJHM Date: Tue, 5 Apr 2016 09:33:27 +0200 Subject: [PATCH 1/2] Create DataGridRow.cs Object which contains data related to the builds --- project/WebDashboard/Dashboard/DataGridRow.cs | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100644 project/WebDashboard/Dashboard/DataGridRow.cs diff --git a/project/WebDashboard/Dashboard/DataGridRow.cs b/project/WebDashboard/Dashboard/DataGridRow.cs new file mode 100644 index 000000000..e8871a7ef --- /dev/null +++ b/project/WebDashboard/Dashboard/DataGridRow.cs @@ -0,0 +1,46 @@ +using System; +using System.Drawing; +using ThoughtWorks.CruiseControl.Core.Reporting.Dashboard.Navigation; +using ThoughtWorks.CruiseControl.Core.Util; +using ThoughtWorks.CruiseControl.Remote; +using ThoughtWorks.CruiseControl.WebDashboard.Resources; + +namespace ThoughtWorks.CruiseControl.WebDashboard.Dashboard +{ + + public class DataGridRow + { + private readonly string buildStatus; + private readonly string date; + private readonly string runningTime; + private readonly string link; + + public DataGridRow(string buildStatus, string date, string runningTime, string link) + { + this.buildStatus = buildStatus; + this.date = date; + this.runningTime = runningTime; + this.link = link; + } + + public string BuildStatus + { + get { return buildStatus; } + } + + public string Date + { + get { return date; } + } + + public string RunningTime + { + get { return runningTime; } + } + + public string Link + { + get { return link; } + } + } +} From 8213051091cafa188340bc28acbdaf0a91f7fd1d Mon Sep 17 00:00:00 2001 From: PabloJHM Date: Wed, 6 Apr 2016 11:35:36 +0200 Subject: [PATCH 2/2] Update DataGridRow.cs Deleted empty line --- project/WebDashboard/Dashboard/DataGridRow.cs | 1 - 1 file changed, 1 deletion(-) diff --git a/project/WebDashboard/Dashboard/DataGridRow.cs b/project/WebDashboard/Dashboard/DataGridRow.cs index e8871a7ef..14ee60ec4 100644 --- a/project/WebDashboard/Dashboard/DataGridRow.cs +++ b/project/WebDashboard/Dashboard/DataGridRow.cs @@ -7,7 +7,6 @@ namespace ThoughtWorks.CruiseControl.WebDashboard.Dashboard { - public class DataGridRow { private readonly string buildStatus;