aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-09-13 19:27:00 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-09-14 13:55:17 +0300
commit1367aa09951e0aa7491bc2a5bf7209b0b47be65e (patch)
tree8e4ffe92d9d7107d712f7096a7eb78872617efca /mod/page.cxx
parentda39917917f03bd709eb7807cc5d900ddeb1e48c (diff)
Add support for packages and builds global views
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx18
1 files changed, 18 insertions, 0 deletions
diff --git a/mod/page.cxx b/mod/page.cxx
index ce12da6..1b2faae 100644
--- a/mod/page.cxx
+++ b/mod/page.cxx
@@ -182,6 +182,24 @@ namespace brep
<< ~TR;
}
+ // TR_TENANT
+ //
+ void TR_TENANT::
+ operator() (serializer& s) const
+ {
+ s << TR(CLASS="tenant")
+ << TH << name_ << ~TH
+ << TD
+ << SPAN(CLASS="value")
+ << A
+ << HREF << tenant_dir (root_, tenant_) << '?' << service_ << ~HREF
+ << tenant_
+ << ~A
+ << ~SPAN
+ << ~TD
+ << ~TR;
+ }
+
// TR_NAME
//
void TR_NAME::