diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-14 17:45:52 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-10-14 17:45:52 +0300 |
commit | ef2bc84384177d6302f193786f0aff131862416d (patch) | |
tree | b2c38edbc0bf634b6cdfbf11b7a96afff82977aa /mod/page.cxx | |
parent | 46ab16e599d4d0725526b70a0024d33429908e94 (diff) |
Make some web interface cleanups
Diffstat (limited to 'mod/page.cxx')
-rw-r--r-- | mod/page.cxx | 15 |
1 files changed, 2 insertions, 13 deletions
diff --git a/mod/page.cxx b/mod/page.cxx index 1e317f0..b9424dc 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -643,26 +643,15 @@ namespace brep << A << HREF << tenant_dir (root_, tenant_) << "?about#" - << mime_url_encode (html_id (name_), false) + << mime_url_encode (html_id (location_.canonical_name ()), false) << ~HREF - << name_ + << location_ << ~A << ~SPAN << ~TD << ~TR; } - // TR_LOCATION - // - void TR_LOCATION:: - operator() (serializer& s) const - { - s << TR(CLASS="location") - << TH << "location" << ~TH - << TD << SPAN(CLASS="value") << location_ << ~SPAN << ~TD - << ~TR; - } - // TR_LINK // void TR_LINK:: |