aboutsummaryrefslogtreecommitdiffstats
path: root/dashboard/app/main.go
diff options
context:
space:
mode:
Diffstat (limited to 'dashboard/app/main.go')
-rw-r--r--dashboard/app/main.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/dashboard/app/main.go b/dashboard/app/main.go
index e531b808a..b7d2ed69f 100644
--- a/dashboard/app/main.go
+++ b/dashboard/app/main.go
@@ -136,6 +136,7 @@ type uiBugGroup struct {
ShowStatus bool
ShowIndex int
Bugs []*uiBug
+ DispLastAct bool
}
type uiJobList struct {
@@ -164,6 +165,7 @@ type uiBug struct {
PatchedOn []string
MissingOn []string
NumManagers int
+ LastActivity time.Time
}
type uiCrash struct {
@@ -230,6 +232,9 @@ func handleMain(c context.Context, w http.ResponseWriter, r *http.Request) error
if err != nil {
return err
}
+ for _, group := range groups {
+ group.DispLastAct = true
+ }
data := &uiMainPage{
Header: hdr,
Decommissioned: config.Namespaces[hdr.Namespace].Decommissioned,
@@ -846,6 +851,7 @@ func createUIBug(c context.Context, bug *Bug, state *ReportingState, managers []
ExternalLink: link,
CreditEmail: creditEmail,
NumManagers: len(managers),
+ LastActivity: bug.LastActivity,
}
updateBugBadness(c, uiBug)
if len(bug.Commits) != 0 {