diff options
author | James Moger <james.moger@gitblit.com> | 2014-03-05 13:19:40 -0500 |
---|---|---|
committer | James Moger <james.moger@gitblit.com> | 2014-03-05 13:19:40 -0500 |
commit | 5ec75252b44e58cf300f1d21667603ae8fb76dff (patch) | |
tree | e5b8672d9bfd3312fe540a6c02bde03c4ad01488 /src/main/java/com/gitblit/wicket/pages | |
parent | 7ca05374db6f6af9de06665c9d2d08acfe85aa4f (diff) | |
download | gitblit-5ec75252b44e58cf300f1d21667603ae8fb76dff.tar.gz gitblit-5ec75252b44e58cf300f1d21667603ae8fb76dff.zip |
Add setting to hide the navbar for those embedding Gitblit
Diffstat (limited to 'src/main/java/com/gitblit/wicket/pages')
-rw-r--r-- | src/main/java/com/gitblit/wicket/pages/BasePage.java | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main/java/com/gitblit/wicket/pages/BasePage.java b/src/main/java/com/gitblit/wicket/pages/BasePage.java index 3e3de535..7d3d3a24 100644 --- a/src/main/java/com/gitblit/wicket/pages/BasePage.java +++ b/src/main/java/com/gitblit/wicket/pages/BasePage.java @@ -93,6 +93,9 @@ public abstract class BasePage extends SessionPage { if (app().settings().getBoolean(Keys.web.useResponsiveLayout, true)) {
add(CSSPackageResource.getHeaderContribution("bootstrap/css/bootstrap-responsive.css"));
}
+ if (app().settings().getBoolean(Keys.web.hideHeader, false)) {
+ add(CSSPackageResource.getHeaderContribution("hideheader.css"));
+ }
}
protected String getCanonicalUrl() {
|