[Erp5-report] r26425 - in /erp5/trunk/bt5/tiolive_base: SkinTemplateItem/portal_skins/tioli...

nobody at svn.erp5.org nobody at svn.erp5.org
Wed Apr 15 11:59:57 CEST 2009


Author: fabien
Date: Wed Apr 15 11:59:54 2009
New Revision: 26425

URL: http://svn.erp5.org?rev=26425&view=rev
Log:
template_erp5_xhtml_style was used to have a customise breadcrumb. Now it's possible by overriding breadcrumb_render page template. So remove customised template_erp5_xhtml_style and add breadcrumb_render.
Hide logged_in_as bloc using css. Because this bloc is inclued in template_erp5_xhtml_style from erp5_xhtml_style bt and in TioLive we don't need it because login is displayed in top-bar.

Added:
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/breadcrumb_render.xml
Modified:
    erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/erp5.css.xml
    erp5/trunk/bt5/tiolive_base/bt/revision

Added: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/breadcrumb_render.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/breadcrumb_render.xml?rev=26425&view=auto
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/breadcrumb_render.xml (added)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/breadcrumb_render.xml [utf8] Wed Apr 15 11:59:54 2009
@@ -1,0 +1,77 @@
+<?xml version="1.0"?>
+<ZopeData>
+  <record id="1" aka="AAAAAAAAAAE=">
+    <pickle>
+      <tuple>
+        <global name="ZopePageTemplate" module="Products.PageTemplates.ZopePageTemplate"/>
+        <tuple/>
+      </tuple>
+    </pickle>
+    <pickle>
+      <dictionary>
+        <item>
+            <key> <string>_bind_names</string> </key>
+            <value>
+              <object>
+                <klass>
+                  <global name="NameAssignments" module="Shared.DC.Scripts.Bindings"/>
+                </klass>
+                <tuple/>
+                <state>
+                  <dictionary>
+                    <item>
+                        <key> <string>_asgns</string> </key>
+                        <value>
+                          <dictionary>
+                            <item>
+                                <key> <string>name_subpath</string> </key>
+                                <value> <string>traverse_subpath</string> </value>
+                            </item>
+                          </dictionary>
+                        </value>
+                    </item>
+                  </dictionary>
+                </state>
+              </object>
+            </value>
+        </item>
+        <item>
+            <key> <string>_text</string> </key>
+            <value> <string encoding="cdata"><![CDATA[
+
+<tal:block tal:replace="nothing"\n
+           xmlns:tal="http://xml.zope.org/namespaces/tal"\n
+           xmlns:metal="http://xml.zope.org/namespaces/metal"\n
+           xmlns:i18n="http://xml.zope.org/namespaces/i18n">\n
+  <tal:block metal:define-macro="breadcrumb">\n
+    <a href="https://www.tiolive.com/">TioLive</a> /\n
+    <tal:block tal:repeat="item here/breadcrumbs">\n
+      <a tal:attributes="href item/url" tal:content="item/title" />\n
+      /\n
+    </tal:block>\n
+  </tal:block>\n
+</tal:block>\n
+
+
+]]></string> </value>
+        </item>
+        <item>
+            <key> <string>content_type</string> </key>
+            <value> <string>text/html</string> </value>
+        </item>
+        <item>
+            <key> <string>expand</string> </key>
+            <value> <int>0</int> </value>
+        </item>
+        <item>
+            <key> <string>id</string> </key>
+            <value> <string>breadcrumb_render</string> </value>
+        </item>
+        <item>
+            <key> <string>title</string> </key>
+            <value> <string></string> </value>
+        </item>
+      </dictionary>
+    </pickle>
+  </record>
+</ZopeData>

Modified: erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/erp5.css.xml
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/erp5.css.xml?rev=26425&r1=26424&r2=26425&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/erp5.css.xml [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/SkinTemplateItem/portal_skins/tiolive_base/erp5.css.xml [utf8] Wed Apr 15 11:59:54 2009
@@ -407,6 +407,10 @@
   background-color: <dtml-var document_background_color>;\n
 }\n
 \n
+#status #logged_in_as {\n
+  display: none;\n
+}\n
+\n
 \n
 /* TioLive selectors */\n
 #main_bar {\n

Modified: erp5/trunk/bt5/tiolive_base/bt/revision
URL: http://svn.erp5.org/erp5/trunk/bt5/tiolive_base/bt/revision?rev=26425&r1=26424&r2=26425&view=diff
==============================================================================
--- erp5/trunk/bt5/tiolive_base/bt/revision [utf8] (original)
+++ erp5/trunk/bt5/tiolive_base/bt/revision [utf8] Wed Apr 15 11:59:54 2009
@@ -1,1 +1,1 @@
-30
+32




More information about the Erp5-report mailing list