Nicer aquivalences display in the keyword view

This commit is contained in:
David Convent 2013-01-29 10:45:16 +01:00
parent 0dcdea5f2e
commit d36fe17ee4
2 changed files with 14 additions and 18 deletions

View File

@ -24,19 +24,18 @@
<div id="dmskeywords-navigation-middle">
<h1 class="documentFirstHeading" tal:content="context/Title" />
<!-- p class="documentDescription" tal:content="context/Description" /-->
<p class="documentDescription">
<tal:equivs define="widget python:view.widgets.get('equivs')"
condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',) and widget.terms()"
>[
<tal:equiv-terms repeat="value widget/terms"
><span tal:content="value"
/><span tal:condition="not:repeat/value/end"
tal:replace="python:', '"
/></tal:equiv-terms>
]</tal:equivs></p>
<div tal:replace="structure provider:plone.belowcontenttitle" />
<tal:equivs define="widget python:view.widgets.get('equivs')">
<div id="dmskeywords-navigation-equivs"
class="field"
tal:condition="python:widget.__name__ not in ('IBasic.title', 'IBasic.description', 'title', 'description',)">
<label tal:content="widget/label" />
<br />
<div tal:content="structure widget/render" />
</div>
</tal:equivs>
<tal:related define="widget python:view.widgets.get('related')">
<div id="dmskeywords-navigation-related"
class="field"

View File

@ -23,13 +23,10 @@
padding-top: 1em;
}
#dmskeywords-navigation-middle h1,
#dmskeywords-navigation-middle .documentDescription {
margin-bottom: 0;
}
#dmskeywords-navigation-left {
float: left;