Commit dd99c675 authored by Romain Courteaud's avatar Romain Courteaud

Generate permanent URL for document's reference in Web Mode

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@26159 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b19b0648
......@@ -283,9 +283,15 @@ tal:define=" listbox_max_lines python: int(here.getMaxLineNumber());\n
\n
<div 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"/>&nbsp;-&nbsp;\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"/>&nbsp;-&nbsp;\n
</tal:block>\n
</tal:block>\n
\n
<tal:block \n
tal:condition="is_web_mode" \n
......
673
\ No newline at end of file
675
\ 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