aboutsummaryrefslogtreecommitdiff
path: root/mod/mod-repository-details.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/mod-repository-details.cxx
parentd2cef486101075942746f58a7fdbc31eb707553d (diff)
Add repository location to package version details and repository details pages
Diffstat (limited to 'mod/mod-repository-details.cxx')
-rw-r--r--mod/mod-repository-details.cxx2
1 files changed, 2 insertions, 0 deletions
diff --git a/mod/mod-repository-details.cxx b/mod/mod-repository-details.cxx
index 91f0d1b..dffd0df 100644
--- a/mod/mod-repository-details.cxx
+++ b/mod/mod-repository-details.cxx
@@ -127,6 +127,8 @@ handle (request& rq, response& rs)
s << ~P;
}
+ s << P << A(HREF=r.location.string ()) << r.location << ~A << ~P;
+
ostringstream o;
butl::to_stream (o,
max (r.packages_timestamp, r.repositories_timestamp),