aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2022-12-02 20:13:45 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2022-12-02 20:20:21 +0300
commit9d50600f7ca9f900f8bfdcd30668c7ee47b2c176 (patch)
treec9f83e328406495aa632925feec1e0023e3b6f77 /mod/page.cxx
parent8994205b272e655ad3f3c134dd660019b60042db (diff)
Reflect that build tenant is archived on builds and package version details pages
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx8
1 files changed, 5 insertions, 3 deletions
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