aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
authorBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
committerBoris Kolpackov <boris@codesynthesis.com>2016-09-05 09:22:06 +0200
commitb6746495ce6ee4ba5e3b414a7e401a8135ee1508 (patch)
tree9d18724c0144b9d4113f8ca2af30173aa210cc57 /mod/mod-package-version-details.cxx
parent207e5156c5664822e0aee8bcc3057adc61027f5b (diff)
Add support for build-time dependencies
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx12
1 files changed, 12 insertions, 0 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index b2172ce..30933fb 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -212,6 +212,12 @@ handle (request& rq, response& rs)
if (da.conditional)
s << "?";
+ if (da.buildtime)
+ s << "*";
+
+ if (da.conditional || da.buildtime)
+ s << " ";
+
s << ~TH
<< TD
<< SPAN(CLASS="value");
@@ -283,6 +289,12 @@ handle (request& rq, response& rs)
if (ra.conditional)
s << "?";
+ if (ra.buildtime)
+ s << "*";
+
+ if (ra.conditional || ra.buildtime)
+ s << " ";
+
s << ~TH
<< TD
<< SPAN(CLASS="value");