Nicer aquivalences display in the keyword view
This commit is contained in:
parent
0dcdea5f2e
commit
d36fe17ee4
|
@ -24,19 +24,18 @@
|
||||||
<div id="dmskeywords-navigation-middle">
|
<div id="dmskeywords-navigation-middle">
|
||||||
|
|
||||||
<h1 class="documentFirstHeading" tal:content="context/Title" />
|
<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" />
|
<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')">
|
<tal:related define="widget python:view.widgets.get('related')">
|
||||||
<div id="dmskeywords-navigation-related"
|
<div id="dmskeywords-navigation-related"
|
||||||
class="field"
|
class="field"
|
||||||
|
|
|
@ -23,13 +23,10 @@
|
||||||
padding-top: 1em;
|
padding-top: 1em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#dmskeywords-navigation-middle h1,
|
||||||
|
#dmskeywords-navigation-middle .documentDescription {
|
||||||
|
margin-bottom: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
#dmskeywords-navigation-left {
|
#dmskeywords-navigation-left {
|
||||||
float: left;
|
float: left;
|
||||||
|
|
Reference in New Issue