diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 17:26:31 +0300 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2016-05-06 15:18:18 +0200 |
commit | 3f7d602fd4e56c9b20a2ee8769ecd4cf69e6b696 (patch) | |
tree | 55d38a3118f6397de2c553505b0eaeaed28871da /mod/page.cxx | |
parent | d2cef486101075942746f58a7fdbc31eb707553d (diff) |
Add repository location to package version details and repository details pages
Diffstat (limited to 'mod/page.cxx')
-rw-r--r-- | mod/page.cxx | 19 |
1 files changed, 15 insertions, 4 deletions
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:: |