plonetheme.sunburst/1.4.x: * Add data-base-url attribute in body tag closes #2051
Rodrigo Ferreira de Souza <jenkins-z4DKO/[email protected]> Sat, 29 Jul 2017 14:31:13 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plonetheme.sunburst Branch: refs/heads/1.4.x Date: 2017-07-21T15:55:36-03:00 Author: Rodrigo Ferreira de Souza (rodfersou) <[email protected]> Commit: https://github.com/plone/plonetheme.sunburst/commit/a94dbf338b626a2147e7d0996448ccbe3f5ea046 * Add data-base-url attribute in body tag closes #2051 * Fix @@plone_lock_operations fixes #2061 * Review @@sharing fixes #2053 Files changed: M CHANGES.rst M plonetheme/sunburst/skins/sunburst_templates/main_template.pt diff --git a/CHANGES.rst b/CHANGES.rst index c53a8c8..a1259e4 100644 --- a/CHANGES.rst +++ b/CHANGES.rst @@ -5,7 +5,9 @@ Changelog 1.4.8 (unreleased) ------------------ -- Nothing changed yet. +- Add data-base-url attribute in body tag. + Closes `issue 2051 <https://github.com/plone/Products.CMFPlone/issues/2051>`_ + [rodfersou] 1.4.7 (2014-09-07) diff --git a/plonetheme/sunburst/skins/sunburst_templates/main_template.pt b/plonetheme/sunburst/skins/sunburst_templates/main_template.pt index cad2870..b5f11fc 100644 --- a/plonetheme/sunburst/skins/sunburst_templates/main_template.pt +++ b/plonetheme/sunburst/skins/sunburst_templates/main_template.pt @@ -50,7 +50,9 @@ body_class python:plone_view.bodyClass(template, view); classes python:context.restrictedTraverse('@@sunburstview').getColumnsClasses(view)" tal:attributes="class body_class; - dir python:isRTL and 'rtl' or 'ltr'"> + dir python: isRTL and 'rtl' or 'ltr'; + data-portal-url portal_url; + data-base-url context/absolute_url"> <div id="visual-portal-wrapper"> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot