You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@rave.apache.org by ve...@apache.org on 2012/05/03 21:40:41 UTC
svn commit: r1333593 - in
/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF:
jsp/templates/base_layout.jsp tags/rave_meta_data.tag
Author: venkatm
Date: Thu May 3 19:40:41 2012
New Revision: 1333593
URL: http://svn.apache.org/viewvc?rev=1333593&view=rev
Log:
RAVE-604: refactor <meta> tags into their own JSP tag for easier overlaying: Applied patch from Aaron Gooch
Added:
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_meta_data.tag
Modified:
rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/templates/base_layout.jsp
Modified: rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/templates/base_layout.jsp
URL: http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/templates/base_layout.jsp?rev=1333593&r1=1333592&r2=1333593&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/templates/base_layout.jsp (original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/jsp/templates/base_layout.jsp Thu May 3 19:40:41 2012
@@ -24,8 +24,7 @@ under the License.
<!DOCTYPE html>
<html class="no-js">
<head>
- <meta charset="ISO-8859-1"/>
- <meta name="viewport" content="width=device-width" />
+ <rave:rave_meta_data />
<title><rave:title /></title>
<rave:rave_css/>
<rave:custom_css/>
@@ -47,4 +46,4 @@ under the License.
<%-- render any script that needs to execute post-src includes --%>
<portal:render-init-script location="${'AFTER_RAVE'}" />
</body>
-</html>
\ No newline at end of file
+</html>
Added: rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_meta_data.tag
URL: http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_meta_data.tag?rev=1333593&view=auto
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_meta_data.tag (added)
+++ rave/trunk/rave-portal-resources/src/main/webapp/WEB-INF/tags/rave_meta_data.tag Thu May 3 19:40:41 2012
@@ -0,0 +1,21 @@
+<%--
+ Licensed to the Apache Software Foundation (ASF) under one
+ or more contributor license agreements. See the NOTICE file
+ distributed with this work for additional information
+ regarding copyright ownership. The ASF licenses this file
+ to you under the Apache License, Version 2.0 (the
+ "License"); you may not use this file except in compliance
+ with the License. You may obtain a copy of the License at
+
+ http://www.apache.org/licenses/LICENSE-2.0
+
+ Unless required by applicable law or agreed to in writing,
+ software distributed under the License is distributed on an
+ "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
+ KIND, either express or implied. See the License for the
+ specific language governing permissions and limitations
+ under the License.
+
+--%>
+<meta charset="ISO-8859-1"/>
+<meta name="viewport" content="width=device-width" />