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
committerKaren Arutyunov <karen@codesynthesis.com>2016-05-04 21:26:51 +0300
commit0f487dc150ef6aa42ac4bd00edff9a02718798fe (patch)
treed97c44d845b0c3ac06abcac72613b5ed5fb8ad1a /mod/mod-repository-details.cxx
parent907ba04425800ca5404c0b7c778dffe8fed38f2f (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),