Skip to content

Commit

Permalink
fix #538
Browse files Browse the repository at this point in the history
update diazo rules
  • Loading branch information
sauzher committed Oct 14, 2024
1 parent 093c93c commit 3c86788
Showing 1 changed file with 13 additions and 13 deletions.
26 changes: 13 additions & 13 deletions src/isaw.theme/isaw/theme/static/rules.xml
Original file line number Diff line number Diff line change
Expand Up @@ -66,13 +66,13 @@
<!-- title -->
<after theme-children='/html/head'
content='/html/head/title' />

<!-- Copy meta style, script and link tags in the order they appear in the content -->
<after
content="/html/head/meta | /html/head/style | /html/head/link | /html/head/comment()[contains(., 'link')] | /html/head/script"
theme-children="/html/head"
/>

<!-- Body -->
<merge attributes="class" css:theme="body" css:content="body" />
<copy css:theme="body" css:content="body" attributes="*" />
Expand Down Expand Up @@ -122,7 +122,7 @@
css:content="#portal-footer" />

<!-- Global nav -->

<!-- Edit bar and portal messages -->
<replace css:theme="#viewlet-above-content"
css:content="#viewlet-above-content" />
Expand All @@ -132,33 +132,33 @@
css:content="#kssPortalMessage" />
<after css:theme="#kssPortalMessage"
css:content=".portalMessage" />

<!-- hide descriptions -->
<drop css:if-content="body.portaltype-document"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-topic"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-news-item"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-event"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-pressrelease"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-pressclip"
css:content="#parent-fieldname-description"/>
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-formfolder"
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-isaw-exhibitions-object"
css:content=".documentDescription"/>
<drop css:if-content="body.portaltype-isaw-bibitems-bibitem"
css:content=".documentDescription"/>

<!-- content area -->
<replace css:theme-children="#content"
css:content-children="#content" />
<after css:theme="#content"
css:content="#viewlet-below-content"/>

<!-- right column -->
<drop css:theme="#portal-column-second"
css:if-not-content="#portal-column-two" />
Expand All @@ -168,7 +168,7 @@

<!-- strip navigation portlet header sitemap links -->
<strip css:content="dl.portletNavigationTree dt.portletHeader a" />

<!-- left column -->
<drop css:theme="#portal-column-first"
css:if-not-content="#portal-column-one" />
Expand Down

0 comments on commit 3c86788

Please # to comment.