Skip to content

Commit

Permalink
Merge pull request #72 from RadioFreeAsia/issue70
Browse files Browse the repository at this point in the history
Issue 67
  • Loading branch information
jensens committed May 5, 2022
2 parents 73c7591 + 18728cd commit 59e83c1
Showing 1 changed file with 4 additions and 12 deletions.
16 changes: 4 additions & 12 deletions src/Products/PloneKeywordManager/browser/prefs_keywords_view.pt
Original file line number Diff line number Diff line change
Expand Up @@ -195,23 +195,15 @@ nav.pagination {
<div class="simkeywords" style="display:none;">
<span tal:repeat="item python:view.getScoredMatches(keyword, batch, num_similar, score)" style="white-space: nowrap;">
<span tal:condition="python:keyword!=item"
tal:define="item_id python:context.plone_utils.normalizeString(item)">
tal:define="item_id python:context.plone_utils.normalizeString(item);
item_quote python:url_quote(item)">
<input type="checkbox" name="keywords:list"
tal:attributes="value item;
id string:item-${item_id};
onclick string: document.forms['keyword_edit_form'].changeto.value='${item}';; return true;;" />
<label tal:content="item" tal:attributes="for string:item-${item_id};">Keyword</label>
<tal:p5 tal:condition="view/is_plone_5">
<a href="#" tal:attributes="href string:${portal_url}/@@search?${field}=${keyword_quote}">
<span class="icon-search"></span></a>
</tal:p5>
<tal:p4 tal:condition="not: view/is_plone_5">
<a href="#" tal:attributes="href string:${portal_url}/@@search?${field}=${keyword_quote}">
<img i18n:attributes="alt"
i18n:domain="plone"
tal:attributes="src string:${portal_url}/search_icon.png;"
alt="Search"/></a>
</tal:p4>
<a href="#" tal:attributes="href string:${navroot_url}/@@search?${field}=${item_quote}">
<span class="icon-search"></span></a>
</span>
</span>
</div>
Expand Down

0 comments on commit 59e83c1

Please sign in to comment.