aboutsummaryrefslogtreecommitdiff
path: root/mod/page.cxx
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2016-05-04 17:26:31 +0300
committerBoris Kolpackov <boris@codesynthesis.com>2016-05-06 15:18:18 +0200
commit3f7d602fd4e56c9b20a2ee8769ecd4cf69e6b696 (patch)
tree55d38a3118f6397de2c553505b0eaeaed28871da /mod/page.cxx
parentd2cef486101075942746f58a7fdbc31eb707553d (diff)
Add repository location to package version details and repository details pages
Diffstat (limited to 'mod/page.cxx')
-rw-r--r--mod/page.cxx19
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::