From 0f487dc150ef6aa42ac4bd00edff9a02718798fe Mon Sep 17 00:00:00 2001 From: Karen Arutyunov Date: Wed, 4 May 2016 17:26:31 +0300 Subject: Add repository location to package version details and repository details pages --- mod/page.cxx | 19 +++++++++++++++---- 1 file changed, 15 insertions(+), 4 deletions(-) (limited to 'mod/page.cxx') diff --git a/mod/page.cxx b/mod/page.cxx index 7fc2e90..2ebbe7b 100644 --- a/mod/page.cxx +++ b/mod/page.cxx @@ -448,13 +448,13 @@ namespace brep << ~TR; } - // TR_LOCATION + // TR_REPOSITORY // - void TR_LOCATION:: + void TR_REPOSITORY:: operator() (serializer& s) const { - s << TR(CLASS="location") - << TH << "location" << ~TH + s << TR(CLASS="repository") + << TH << "repository" << ~TH << TD << SPAN(CLASS="value") << A @@ -468,6 +468,17 @@ namespace brep << ~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_DOWNLOAD // void TR_DOWNLOAD:: -- cgit v1.1