https://svn.lrde.epita.fr/svn/ranch/trunk
Index: ChangeLog
from Nicolas Despr�s <nicolas.despres(a)gmail.com>
No longer embed head tag in the _head layout.
* web/ranch/app/views/layouts/_head.rhtml: No more head tag since
this is only the shared part of the head, not obsiously the whole
things.
* web/ranch/app/views/layouts/ranch.rhtml,
* web/ranch/app/views/layouts/benches.rhtml,
* web/ranch/app/views/layouts/systems.rhtml,
* web/ranch/app/views/layouts/projects.rhtml: Add the head tag here
since every layout may want to add stuff in the head without
clobbering the shared part.
_head.rhtml | 2 --
benches.rhtml | 2 ++
projects.rhtml | 2 ++
ranch.rhtml | 2 ++
systems.rhtml | 2 ++
5 files changed, 8 insertions(+), 2 deletions(-)
Index: web/ranch/app/views/layouts/ranch.rhtml
--- web/ranch/app/views/layouts/ranch.rhtml (revision 69)
+++ web/ranch/app/views/layouts/ranch.rhtml (working copy)
@@ -1,7 +1,9 @@
<!-- -*- html -*- -->
<html>
+ <head>
<%= render :partial => "layouts/head" %>
+ </head>
<body>
<%= render :partial => "layouts/top_banner" %>
<%= render :partial => "layouts/menubar" %>
Index: web/ranch/app/views/layouts/_head.rhtml
--- web/ranch/app/views/layouts/_head.rhtml (revision 69)
+++ web/ranch/app/views/layouts/_head.rhtml (working copy)
@@ -1,6 +1,4 @@
<!-- -*- html -*- -->
-<head>
<title>Ranch: regression benchmark system</title>
<%= stylesheet_link_tag 'scaffold' %>
-</head>
Index: web/ranch/app/views/layouts/benches.rhtml
--- web/ranch/app/views/layouts/benches.rhtml (revision 69)
+++ web/ranch/app/views/layouts/benches.rhtml (working copy)
@@ -1,7 +1,9 @@
<!-- -*- html -*- -->
<html>
+ <head>
<%= render :partial => "layouts/head" %>
+ </head>
<body>
<%= render :partial => "layouts/top_banner" %>
<%= render :partial => "layouts/menubar" %>
Index: web/ranch/app/views/layouts/systems.rhtml
--- web/ranch/app/views/layouts/systems.rhtml (revision 69)
+++ web/ranch/app/views/layouts/systems.rhtml (working copy)
@@ -1,7 +1,9 @@
<!-- -*- html -*- -->
<html>
+ <head>
<%= render :partial => "layouts/head" %>
+ </head>
<body>
<%= render :partial => "layouts/top_banner" %>
<%= render :partial => "layouts/menubar" %>
Index: web/ranch/app/views/layouts/projects.rhtml
--- web/ranch/app/views/layouts/projects.rhtml (revision 69)
+++ web/ranch/app/views/layouts/projects.rhtml (working copy)
@@ -1,7 +1,9 @@
<!-- -*- html -*- -->
<html>
+ <head>
<%= render :partial => "layouts/head" %>
+ </head>
<body>
<%= render :partial => "layouts/top_banner" %>
<%= render :partial => "layouts/menubar" %>