[gen] Bugfixes.
This commit is contained in:
parent
ba5bc76548
commit
4db5e9d995
3 changed files with 17 additions and 13 deletions
|
@ -39,7 +39,7 @@
|
|||
<p>
|
||||
<span tal:replace="searchDescr/translated"/>
|
||||
(<span tal:replace="totalNumber"/>)
|
||||
<tal:newSearch condition="python: searchName == '_advanced'">
|
||||
<tal:newSearch condition="python: searchName == 'customSearch'">
|
||||
— <i><a tal:attributes="href newSearchUrl"
|
||||
tal:content="python: _('search_new')"></a></i>
|
||||
</tal:newSearch>
|
||||
|
@ -125,7 +125,7 @@
|
|||
|
||||
<tal:noResult condition="not: objs">
|
||||
<span tal:replace="python: _('query_no_result')"/>
|
||||
<tal:newSearch condition="python: searchName == '_advanced'">
|
||||
<tal:newSearch condition="python: searchName == 'customSearch'">
|
||||
<br/><i class="discreet"><a tal:attributes="href newSearchUrl"
|
||||
tal:content="python: _('search_new')"></a></i>
|
||||
</tal:newSearch>
|
||||
|
|
|
@ -38,5 +38,6 @@
|
|||
<label tal:attributes="for widgetName" tal:content="python: _(widget['labelId'])"></label><br>
|
||||
<input type="text" tal:define="maxChars python: test(widget['maxChars'], widget['maxChars'], '')"
|
||||
tal:attributes="name python: '%s*string' % widgetName;
|
||||
maxlength maxChars"/>
|
||||
maxlength maxChars;
|
||||
value widget/defaultForSearch"/>
|
||||
</metal:search>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue