From ded07cf185540680bc9c06f174e807ba0f3f736c Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 7 Dec 2022 14:43:49 +0300 Subject: Move indication that tenant is archived to timestamp field on builds and package version details pages --- mod/mod-builds.cxx | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'mod/mod-builds.cxx') 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 -- cgit v1.1