[Testbot] Plone 5.0 - Python 2.7 - Build # 2946 - Still failing! - 0 failure(s)

jenkins at plone.org jenkins at plone.org
Sat Aug 9 18:47:58 UTC 2014


-------------------------------------------------------------------------------
Plone 5.0 - Python 2.7 - Build # 2946 - Still Failing!
-------------------------------------------------------------------------------

http://jenkins.plone.org/job/plone-5.0-python-2.7/2946/


-------------------------------------------------------------------------------
CHANGES
-------------------------------------------------------------------------------

Repository: plone.app.layout
Branch: refs/heads/master
Date: 2014-08-09T19:37:03+02:00
Author: Nathan Van Gheem (vangheem) <vangheem at gmail.com>
Commit: https://github.com/plone/plone.app.layout/commit/8d0511efcd70354d80dd221180c0c1a69cab1383

add more data attributes to body tag

Files changed:
M CHANGES.rst
M plone/app/layout/globals/patterns_settings.py

diff --git a/CHANGES.rst b/CHANGES.rst
index db50bee..a033824 100644
--- a/CHANGES.rst
+++ b/CHANGES.rst
@@ -16,6 +16,9 @@ Changelog
 - Fix related items viewlet listing dexterity related folder's descendants.
   [rpatterson]
 
+- Add more data attributes to body tag
+  [vangheem]
+
 
 2.5.1 (2014-04-05)
 ------------------
diff --git a/plone/app/layout/globals/patterns_settings.py b/plone/app/layout/globals/patterns_settings.py
index 33c1e49..65685d8 100644
--- a/plone/app/layout/globals/patterns_settings.py
+++ b/plone/app/layout/globals/patterns_settings.py
@@ -3,6 +3,7 @@
 from zope.interface import implements
 from zope.component import getAdapters
 from zope.component import getUtility
+from zope.component.hooks import getSite
 from zope.publisher.browser import BrowserView
 
 from plone.registry.interfaces import IRegistry
@@ -22,9 +23,12 @@ def __call__(self):
                 'displayInModal': False,
             }
         }
+        base_url = getSite().absolute_url()
         result = {
             'data-pat-modal': json.dumps(modal_options),
             'data-base-url': self.context.absolute_url(),
+            'data-portal-url': base_url,
+            'data-i18ncatalogurl': base_url + '/plonejsi18n'
         }
         adapters = getAdapters((self.context, self.request), IPatternsSettings)
         [result.update(x[1]()) for x in adapters]




-------------------------------------------------------------------------------
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CHANGES.log
Type: application/octet-stream
Size: 1739 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140809/79b5d41e/attachment-0002.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: build.log
Type: application/octet-stream
Size: 96838 bytes
Desc: not available
URL: <http://lists.plone.org/pipermail/plone-testbot/attachments/20140809/79b5d41e/attachment-0003.obj>


More information about the Testbot mailing list