diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml index 5025b7d88df20aaf6d7f1973ac1cab5bc1da6d75..49f1ae718bab2f5cb95384a9d8f4a2cdcb91c329 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml +++ b/product/ERP5/bootstrap/erp5_xhtml_style/SkinTemplateItem/portal_skins/erp5_xhtml_style/ListBox_asSearchStyleHTML.xml @@ -283,21 +283,14 @@ <span class="searchDetails found" \n tal:content="structure python: obj.Base_showFoundText(selection=selection)"/>\n \n - <div class="searchDetails coordinates">\n + <div tal:condition="is_web_mode"\n + class="searchDetails coordinates">\n <tal:block tal:condition="obj/getReference|nothing">\n - <tal:block tal:condition="is_web_mode">\n - <a tal:attributes="href python: \'%s/view\' % website.getPermanentURL(obj)"\n - tal:content="obj/getReference|nothing"/> - \n - </tal:block>\n - <tal:block tal:condition="python: not is_web_mode">\n - <a tal:attributes="href string: ${url}/view"\n - tal:content="obj/getReference|nothing"/> - \n - </tal:block>\n + <a tal:attributes="href python: \'%s/view\' % website.getPermanentURL(obj)"\n + tal:content="obj/getReference|nothing"/> - \n </tal:block>\n \n - <tal:block \n - tal:condition="is_web_mode" \n - tal:repeat="section python: website.getWebSectionValueList(obj)">\n + <tal:block tal:repeat="section python: website.getWebSectionValueList(obj)">\n <a href="#" \n tal:content="section/getCompactTranslatedTitle"\n tal:attributes="href python: \'%s/view\' %section.absolute_url()"/>\n @@ -310,12 +303,18 @@ tal:attributes="href owner/url"/>\n - \n </tal:block>\n - \n <a tal:content="python: date_renderer(obj.getModificationDate())" \n tal:attributes="href string: ${url}/Base_viewHistory"/>\n </div>\n -\n -\n + <div tal:condition="not: is_web_mode"\n + class="searchDetails coordinates">\n + <tal:block tal:condition="obj/getReference|nothing">\n + <a tal:attributes="href string: ${url}/view"\n + tal:content="obj/getReference|nothing"/> - \n + </tal:block>\n + <a tal:content="python: date_renderer(obj.getModificationDate())" \n + tal:attributes="href string: ${url}/Base_viewHistory"/>\n + </div>\n </div>\n </td>\n </tr>\n diff --git a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision index 89395971e9853143546b02e46e9668a159e77187..0dde6d352b78f94c8f3ab0379493762b666a484a 100644 --- a/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision +++ b/product/ERP5/bootstrap/erp5_xhtml_style/bt/revision @@ -1 +1 @@ -693 \ No newline at end of file +694 \ No newline at end of file