From ef2bc84384177d6302f193786f0aff131862416d Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Thu, 14 Oct 2021 17:45:52 +0300 Subject: Make some web interface cleanups --- mod/page.cxx | 15 ++------------- 1 file changed, 2 insertions(+), 13 deletions(-) (limited to 'mod/page.cxx') 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:: -- cgit v1.1