Commit 865de092 authored by Jérome Perrin's avatar Jérome Perrin

if no list_action are defined on listbox, don't display link. Make this...

if no list_action are defined on listbox, don't display link. Make this available for all list style (see http://svn.erp5.org/?view=revision&revision=26172 )

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34192 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 84f10982
......@@ -132,16 +132,21 @@
<a class="right" tal:attributes="onclick python:real_context.KnowledgePad_generateAjaxCall(context_url+\'/\'+form_id,box,box_id, {}, 1)"><img alt="" tal:attributes="onload python:\'if(\\\'\'+rss_title.replace(\'\\\'\',\'\')+\'\\\'==\\\'Please enter a valid Rss or Atom url in the edit form\\\'){showElement(\\\'edit_form_\'+box_id+\'\\\');;}\'" src="refresh.png"/></a>\n
\n
<!-- Feed Title -->\n
\n
<tal:block tal:condition="anonymous">\n
<a class="title"\n
<a class="title" tal:condition="python: here.field.get_value(\'list_action\')"\n
tal:attributes="href rss_link; target string:_blank; id python:\'rss_title_\'+box_id"\n
tal:content="rss_title"/>\n
<span class="title" tal:condition="python: not here.field.get_value(\'list_action\')"\n
tal:attributes="id python:\'rss_title_\'+box_id"\n
tal:content="rss_title"/>\n
</tal:block>\n
<tal:block tal:condition="not: anonymous">\n
<a class="title"\n
<a class="title" tal:condition="python: here.field.get_value(\'list_action\')"\n
tal:attributes="href rss_link; target string:_blank; id python:\'rss_title_\'+box_id"\n
tal:content="python:real_context.Base_formatRssTitleWithUnreadItemCount(rss_title=rss_title,selection_name=selection_name,total_line=total_line)"/>\n
<span class="title" tal:condition="python:not here.field.get_value(\'list_action\')"\n
tal:attributes="id python:\'rss_title_\'+box_id"\n
tal:content="python:real_context.Base_formatRssTitleWithUnreadItemCount(rss_title=rss_title,selection_name=selection_name,total_line=total_line)"/>\n
</tal:block>\n
\n
<p class="clear"></p>\n
......
497
\ No newline at end of file
499
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment