Skip to content
Browse files

Nuke trailing white space.

  • Loading branch information...
1 parent b1b77cd commit 04b75f9cf22b98d656bee2e477cb99e2f2333015 @mauritsvanrees mauritsvanrees committed Jan 3, 2012
View
14 resources/theme/theme1/rules.xml
@@ -3,22 +3,22 @@
xmlns="http://namespaces.plone.org/diazo"
xmlns:css="http://namespaces.plone.org/diazo/css"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
-
+
<rules css:if-content="#visual-portal-wrapper">
-
+
<theme href="theme.html" />
<theme href="othertheme.html" if-path="news"/>
-
+
<replace css:content='html head title' css:theme='html head title' />
<replace css:content='h1.documentFirstHeading' css:theme='#pageTitle' if="not($ajax_load)" />
<after content='/html/head/link' theme-children='/html/head' />
-
+
<replace css:content="#portal-colophon" css:theme="#footer" />
-
+
<replace css:theme="p">
The value of frobble is <xsl:value-of select="$frobble" />
</replace>
-
+
</rules>
-
+
</rules>
View
22 resources/theme/theme1/views/class-view.pt
@@ -52,36 +52,36 @@
&nbsp;
</div>
</div>
-
+
<div metal:use-macro="context/global_statusmessage/macros/portal_message">
Portal status message
</div>
<dl tal:condition="python:view.empty() and view.can_edit()"
class="portalMessage info visualClear" id="dashboard-info-message">
<dt i18n:translate="">Info</dt>
<dd i18n:translate="info_empty_dashboard">
- Your dashboard is currently empty. Click the
- <em>edit</em> tab to assign some personal
+ Your dashboard is currently empty. Click the
+ <em>edit</em> tab to assign some personal
portlets.
</dd>
</dl>
<div id="content">
-
+
<h1 class="documentFirstHeading" i18n:translate="heading_dashboard">
Diazo w0z 3r3
</h1>
-
- <div id="content-core">
- <div id="dashboard">
+
+ <div id="content-core">
+ <div id="dashboard">
<div class="visualClear"><!-- --></div>
- <div id="dashboard-portlets1"
+ <div id="dashboard-portlets1"
tal:content="structure provider:plone.dashboard1" />
- <div id="dashboard-portlets2"
+ <div id="dashboard-portlets2"
tal:content="structure provider:plone.dashboard2" />
- <div id="dashboard-portlets3"
+ <div id="dashboard-portlets3"
tal:content="structure provider:plone.dashboard3" />
- <div id="dashboard-portlets4"
+ <div id="dashboard-portlets4"
tal:content="structure provider:plone.dashboard4" />
</div>
<div class="visualClear"><!-- --></div>
View
8 src/plone/app/theming/tests/test_transform.py
@@ -626,23 +626,23 @@ def test_resource_condition_404(self):
thirdLastResource.setRendering('link')
thirdLastResource.setEnabled(True)
thirdLastResource.setConditionalcomment('')
-
+
# only show in theme
secondToLastResource = portal_css.resources[-2]
secondToLastResource.setExpression('request/HTTP_X_THEME_ENABLED | nothing')
secondToLastResource.setRendering('link')
secondToLastResource.setEnabled(True)
secondToLastResource.setConditionalcomment('')
-
+
# only show when theme is disabled
lastResource = portal_css.resources[-1]
lastResource.setExpression('not:request/HTTP_X_THEME_ENABLED | nothing')
lastResource.setRendering('link')
lastResource.setEnabled(True)
lastResource.setConditionalcomment('')
-
+
portal_css.cookResources()
@@ -745,4 +745,4 @@ def test_non_ascii_includes(self):
self.assertTrue(
'''<div>N\xc3\xbamero uno</div>'''
- in browser.contents)
+ in browser.contents)

0 comments on commit 04b75f9

Please sign in to comment.
Something went wrong with that request. Please try again.