diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 17:26:31 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2016-05-04 21:26:51 +0300 |
commit | 0f487dc150ef6aa42ac4bd00edff9a02718798fe (patch) | |
tree | d97c44d845b0c3ac06abcac72613b5ed5fb8ad1a /mod/page.cxx | |
parent | 907ba04425800ca5404c0b7c778dffe8fed38f2f (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:: |