[Xfce4-commits] <moka:nick/maintainer-improvements> Set body class.

Nick Schermer noreply at xfce.org
Sat Oct 15 23:06:01 CEST 2011


Updating branch refs/heads/nick/maintainer-improvements
         to d09198e74a0fc14874e5cb569f8d56feee4595f4 (commit)
       from 17084e1cd10cb2c939e2319c1677a38407a63e7c (commit)

commit d09198e74a0fc14874e5cb569f8d56feee4595f4
Author: Nick Schermer <nick at xfce.org>
Date:   Sat Oct 15 23:04:56 2011 +0200

    Set body class.

 lib/views/layout.haml |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/lib/views/layout.haml b/lib/views/layout.haml
index 70367d4..b5c7b53 100644
--- a/lib/views/layout.haml
+++ b/lib/views/layout.haml
@@ -4,7 +4,7 @@
     %meta{"http-equiv" => "Content-Type", :content => "text/html; charset=utf-8"}/
     %title Xfce Release Manager
     %link{:rel => "stylesheet", :href => "/stylesheet.css", :media => "all", :type => "text/css"}/
-  %body
+  %body{:class => ENV['RACK_ENV'] || "development" }
     %h1 Xfce Release Manager
     %div{:id => 'main-toolbar'}
       %ul{:id => 'main-toolbar'}


More information about the Xfce4-commits mailing list