From c345972c08497d8fd3820b62a9528212f8a13eac Mon Sep 17 00:00:00 2001 From: Massimo Di Pierro Date: Mon, 26 Dec 2011 10:31:09 -0600 Subject: [PATCH] if response.menu --- VERSION | 2 +- applications/welcome/views/layout.html | 6 ++++-- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/VERSION b/VERSION index 2fb1c481..78b8dfaf 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -Version 1.99.4 (2011-12-25 14:02:50) stable +Version 1.99.4 (2011-12-26 10:30:50) stable diff --git a/applications/welcome/views/layout.html b/applications/welcome/views/layout.html index 098b47c5..6e478ecb 100644 --- a/applications/welcome/views/layout.html +++ b/applications/welcome/views/layout.html @@ -43,8 +43,10 @@ {{ response.files.append(URL('static','css/skeleton.css')) response.files.append(URL('static','css/web2py.css')) - response.files.append(URL('static','css/superfish.css')) - response.files.append(URL('static','js/superfish.js')) + if response.menu: + response.files.append(URL('static','css/superfish.css')) + response.files.append(URL('static','js/superfish.js')) + pass }} {{include 'web2py_ajax.html'}}