svn commit: r1864214 - in /ofbiz/branches/release16.11: framework/common/template/includes/Lookup.ftl themes/flatgrey/webapp/flatgrey/style.css

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

svn commit: r1864214 - in /ofbiz/branches/release16.11: framework/common/template/includes/Lookup.ftl themes/flatgrey/webapp/flatgrey/style.css

adityasharma
Author: adityasharma
Date: Fri Aug  2 09:53:18 2019
New Revision: 1864214

URL: http://svn.apache.org/viewvc?rev=1864214&view=rev
Log:
Fixed: favicon.ico missing for LookupDecorator
(OFBIZ-11146)
The ListVisualTheme page uses LookupDecorator and in the absence of any shortcut icon the browser hits favicon.ico file by default.
Additional change: Fixed path for title.gif specific to Flatgrey theme

Modified:
    ofbiz/branches/release16.11/framework/common/template/includes/Lookup.ftl
    ofbiz/branches/release16.11/themes/flatgrey/webapp/flatgrey/style.css

Modified: ofbiz/branches/release16.11/framework/common/template/includes/Lookup.ftl
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/framework/common/template/includes/Lookup.ftl?rev=1864214&r1=1864213&r2=1864214&view=diff
==============================================================================
--- ofbiz/branches/release16.11/framework/common/template/includes/Lookup.ftl (original)
+++ ofbiz/branches/release16.11/framework/common/template/includes/Lookup.ftl Fri Aug  2 09:53:18 2019
@@ -27,6 +27,14 @@ under the License.
 <head>
   <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
   <title>${title!}</title>
+  <#if layoutSettings.VT_SHORTCUT_ICON?has_content>
+      <#assign shortcutIcon = layoutSettings.VT_SHORTCUT_ICON.get(0)/>
+  <#elseif layoutSettings.shortcutIcon?has_content>
+      <#assign shortcutIcon = layoutSettings.shortcutIcon/>
+  </#if>
+  <#if shortcutIcon?has_content>
+    <link rel="shortcut icon" href="<@ofbizContentUrl>${StringUtil.wrapString(shortcutIcon)}</@ofbizContentUrl>"/>
+  </#if>
   <#-- the trick "<scr" + "ipt below is because browsers should not parse the contents of CDATA elements, but apparently they do. -->
   <script language="JavaScript" type="text/javascript">//<![CDATA[
       var jQueryLibLoaded = false;

Modified: ofbiz/branches/release16.11/themes/flatgrey/webapp/flatgrey/style.css
URL: http://svn.apache.org/viewvc/ofbiz/branches/release16.11/themes/flatgrey/webapp/flatgrey/style.css?rev=1864214&r1=1864213&r2=1864214&view=diff
==============================================================================
--- ofbiz/branches/release16.11/themes/flatgrey/webapp/flatgrey/style.css (original)
+++ ofbiz/branches/release16.11/themes/flatgrey/webapp/flatgrey/style.css Fri Aug  2 09:53:18 2019
@@ -100,7 +100,7 @@ body, textarea, input, select {
 }
 
 html {
-    background-image: url(/images/tile.gif);
+    background-image: url(/flatgrey/images/tile.gif);
 }
 
 body {