From 9d50600f7ca9f900f8bfdcd30668c7ee47b2c176 Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Fri, 2 Dec 2022 20:13:45 +0300 Subject: Reflect that build tenant is archived on builds and package version details pages --- mod/page.cxx | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'mod/page.cxx') diff --git a/mod/page.cxx b/mod/page.cxx index e2a8b84..7352867 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -787,9 +787,11 @@ namespace brep } } - if (build_.force == (build_.state == build_state::building - ? force_state::forcing - : force_state::forced)) + if (archived_) + s << SPAN(CLASS="archived") << "archived" << ~SPAN; + else if (build_.force == (build_.state == build_state::building + ? force_state::forcing + : force_state::forced)) s << SPAN(CLASS="pending") << "pending" << ~SPAN; else s << A -- cgit v1.1