aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-builds.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-builds.cxx')
-rw-r--r--mod/mod-builds.cxx7
1 files changed, 6 insertions, 1 deletions
diff --git a/mod/mod-builds.cxx b/mod/mod-builds.cxx
index ff27c65..6b5c90f 100644
--- a/mod/mod-builds.cxx
+++ b/mod/mod-builds.cxx
@@ -694,7 +694,12 @@ handle (request& rq, response& rs)
"%Y-%m-%d %H:%M:%S %Z",
true /* special */,
true /* local */) +
- " (" + butl::to_string (now - b.timestamp, false) + " ago)");
+ " (" + butl::to_string (now - b.timestamp, false) + " ago");
+
+ if (pb.archived)
+ ts += ", archived";
+
+ ts += ')';
s << TABLE(CLASS="proplist build")
<< TBODY