aboutsummaryrefslogtreecommitdiff
path: root/mod
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-08-24 13:29:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-08-24 14:12:42 +0300
commitdef0adc835b35f503eda48049e9e753786c21655 (patch)
treecc4dcf7c2e02132e2f0cee0523a74906cf70107a /mod
parente52bba0e65fb3c2eee9adb7672381964b35aad9c (diff)
Add support for build-time mark (*) in tests, examples, and benchmarks package manifest values
Diffstat (limited to 'mod')
-rw-r--r--mod/mod-package-version-details.cxx10
1 files changed, 8 insertions, 2 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index a23989e..0faf7a2 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -327,10 +327,10 @@ handle (request& rq, response& rs)
<< TH;
if (da.conditional)
- s << "?";
+ s << '?';
if (da.buildtime)
- s << "*";
+ s << '*';
s << ~TH
<< TD
@@ -429,6 +429,12 @@ handle (request& rq, response& rs)
}
s << TR(CLASS=id)
+ << TH;
+
+ if (td.buildtime)
+ s << '*';
+
+ s << ~TH
<< TD
<< SPAN(CLASS="value");