From 4fec7e73201ed50e4a4157cb1ea1f1c63566dd89 Mon Sep 17 00:00:00 2001 From: Boris Kolpackov Date: Sun, 28 Feb 2016 16:49:17 +0200 Subject: Menu customization --- brep/mod-repository-details.cxx | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'brep/mod-repository-details.cxx') diff --git a/brep/mod-repository-details.cxx b/brep/mod-repository-details.cxx index 742bee9..0a88a16 100644 --- a/brep/mod-repository-details.cxx +++ b/brep/mod-repository-details.cxx @@ -18,6 +18,7 @@ #include #include +#include #include #include @@ -57,6 +58,8 @@ handle (request& rq, response& rs) // server process. // static const dir_path& root (options_->root ()); + static const fragment& logo (options_->logo ()); + static const vector& menu (options_->menu ()); // Make sure no parameters passed. // @@ -79,7 +82,7 @@ handle (request& rq, response& rs) << CSS_LINKS (path ("repository-details.css"), root) << ~HEAD << BODY - << DIV_HEADER (root) + << DIV_HEADER (root, logo, menu) << DIV(ID="content"); transaction t (db_->begin ()); -- cgit v1.1