aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-package-version-details.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/mod-package-version-details.cxx')
-rw-r--r--mod/mod-package-version-details.cxx6
1 files changed, 6 insertions, 0 deletions
diff --git a/mod/mod-package-version-details.cxx b/mod/mod-package-version-details.cxx
index edab232..1186470 100644
--- a/mod/mod-package-version-details.cxx
+++ b/mod/mod-package-version-details.cxx
@@ -195,6 +195,12 @@ handle (request& rq, response& rs)
<< TR_URL (pkg->url)
<< TR_EMAIL (em);
+ if (pkg->doc_url)
+ s << TR_URL (*pkg->doc_url, "doc-url");
+
+ if (pkg->src_url)
+ s << TR_URL (*pkg->src_url, "src-url");
+
const auto& pu (pkg->package_url);
if (pu && *pu != pkg->url)
s << TR_URL (*pu, "package-url");