aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-10-14 17:45:52 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-10-14 17:45:52 +0300
commitef2bc84384177d6302f193786f0aff131862416d (patch)
treeb2c38edbc0bf634b6cdfbf11b7a96afff82977aa /mod/page.cxx
parent46ab16e599d4d0725526b70a0024d33429908e94 (diff)
Make some web interface cleanups
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx15
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::