diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 12:08:41 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2015-11-16 16:42:40 +0200 |
commit | 6eca8a647c79e9a5b100672b55f5d02273a28772 (patch) | |
tree | 5361b9007cace2dfdf95c55b009abdcaab1ad60e /brep/package-version-details.cxx | |
parent | ba283a252267e0365408db3d6b7cf410edccac1b (diff) |
Implement 'about' web page
Diffstat (limited to 'brep/package-version-details.cxx')
-rw-r--r-- | brep/package-version-details.cxx | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/brep/package-version-details.cxx b/brep/package-version-details.cxx index b8f30ff..d00c10a 100644 --- a/brep/package-version-details.cxx +++ b/brep/package-version-details.cxx @@ -46,7 +46,6 @@ namespace brep void package_version_details:: handle (request& rq, response& rs) { - using namespace xml; using namespace web; using namespace web::xhtml; @@ -99,7 +98,7 @@ namespace brep return u; }); - serializer s (rs.content (), name); + xml::serializer s (rs.content (), name); static const path go ("go"); static const path sp ("package-version-details.css"); @@ -171,7 +170,7 @@ namespace brep << TR_PRIORITY (p->priority) << TR_LICENSES (p->license_alternatives) - << TR_LOCATION (p->internal_repository.object_id ()) + << TR_LOCATION (p->internal_repository.object_id (), rt) << TR_DOWNLOAD (du) << ~TBODY << ~TABLE @@ -249,7 +248,7 @@ namespace brep s << ' ' << A(HREF=u / path (p->version.string ())) << *dc << ~A; } else - // Display the dependency as a plain text in no repository URL + // Display the dependency as a plain text if no repository URL // available. // s << d; |