aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx13
1 files changed, 11 insertions, 2 deletions
diff --git a/mod/page.cxx b/mod/page.cxx
index 79b5da5..aba7581 100644
--- a/mod/page.cxx
+++ b/mod/page.cxx
@@ -144,14 +144,23 @@ namespace brep
<< SPAN(CLASS="value");
if (package_ == nullptr)
+ {
s << version_;
+
+ if (stub_)
+ s << " (stub)";
+ }
else
{
assert (root_ != nullptr);
s << A(HREF=*root_ / dir_path (mime_url_encode (*package_)) /
path (version_))
- << version_
- << ~A;
+ << version_;
+
+ if (stub_)
+ s << " (stub)";
+
+ s << ~A;
}
s << ~SPAN