plonetheme.classic/master: Merge pull request #6 from plone/issue_2051
GitHub <jenkins-z4DKO/[email protected]> Sat, 29 Jul 2017 14:30:52 -0700 (PDT)
| Newsgroups | gmane.comp.web.zope.plone.cvs |
|---|---|
| Message-ID | <[email protected]> |
Repository: plonetheme.classic Branch: refs/heads/master Date: 2017-07-29T23:30:43+02:00 Author: Gil Forcada Codinachs (gforcada) <[email protected]> Commit: https://github.com/plone/plonetheme.classic/commit/c6694ac4035743bf5a5cd240e7a188ecb6b462a0 Merge pull request #6 from plone/issue_2051 * Add data-base-url attribute in body tag closes #2051 Files changed: M CHANGES.txt M plonetheme/classic/skins/classic_templates/main_template.pt diff --git a/CHANGES.txt b/CHANGES.txt index f60141f..47d9962 100644 --- a/CHANGES.txt +++ b/CHANGES.txt @@ -4,7 +4,9 @@ Changelog 1.3.4 (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.3.3 (2014-01-28) diff --git a/plonetheme/classic/skins/classic_templates/main_template.pt b/plonetheme/classic/skins/classic_templates/main_template.pt index cb87ea7..6bd86ea 100644 --- a/plonetheme/classic/skins/classic_templates/main_template.pt +++ b/plonetheme/classic/skins/classic_templates/main_template.pt @@ -63,7 +63,9 @@ sr python:plone_view.have_portlets('plone.rightcolumn', view); body_class python:plone_view.bodyClass(template, 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"> <div id="portal-top" i18n:domain="plone"> ------------------------------------------------------------------------------ Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot