Commit 7c8a0f9f authored by Ivan Tyagov's avatar Ivan Tyagov

Add CSS selector so customizing search pop up is possible.

Show reference as well in search pop up.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@35644 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent c69d250f
......@@ -106,6 +106,11 @@ try:\n
except AttributeError:\n
pass\n
\n
try:\n
doc_info[\'reference\'] = context.getReference() or \'\'\n
except AttributeError:\n
pass\n
\n
# add web sections document belongs too\n
if website is None:\n
website = context.getWebSiteValue() or context.REQUEST.get(\'current_web_site\')\n
......
......@@ -46,59 +46,66 @@
status python: options.get(\'status\', None);\n
group python: options.get(\'group\', None);\n
project python: options.get(\'project\', None);\n
reference python: options.get(\'reference\', None);\n
language python: options.get(\'language\', None);\n
version python: options.get(\'version\', None);">\n
\n
<div class="popup_row" tal:condition="owner">\n
<span class="popup_label" \n
<span class="popup_label owner" \n
i18n:translate="" i18n:domain="ui">Owners:</span>\n
<tal:block tal:replace="owner|nothing"/>\n
</div> \n
\n
<div class="popup_row" tal:condition="modification_date">\n
<span class="popup_label" \n
<span class="popup_label modification_date" \n
i18n:translate="" i18n:domain="ui">Last modified:</span>\n
<tal:block tal:replace="modification_date|nothing"/>\n
</div>\n
\n
<div class="popup_row" tal:condition="release_date">\n
<span class="popup_label" \n
<span class="popup_label release_date" \n
i18n:translate="" i18n:domain="ui">Released:</span>\n
<tal:block tal:replace="release_date|nothing"/>\n
</div>\n
\n
<div class="popup_row" tal:condition="publication_date"> \n
<span class="popup_label" \n
<span class="popup_label publication_date" \n
i18n:translate="" i18n:domain="ui">Published:</span>\n
<tal:block tal:replace="publication_date|nothing"/>\n
</div>\n
\n
<div class="popup_row" tal:condition="status"> \n
<span class="popup_label" \n
<span class="popup_label status" \n
i18n:translate="" i18n:domain="ui">Status:</span>\n
<tal:block tal:replace="status|nothing"/>\n
</div>\n
\n
\n
<div class="popup_row" tal:condition="reference"> \n
<span class="popup_label reference" \n
i18n:translate="" i18n:domain="ui">Reference:</span>\n
<tal:block tal:replace="reference|nothing"/>\n
</div>\n
\n
<div class="popup_row" tal:condition="language"> \n
<span class="popup_label" \n
<span class="popup_label language" \n
i18n:translate="" i18n:domain="ui">Language:</span>\n
<tal:block tal:replace="language|nothing"/>\n
</div> \n
\n
<div class="popup_row" tal:condition="version"> \n
<span class="popup_label" \n
<span class="popup_label version" \n
i18n:translate="" i18n:domain="ui">Version:</span>\n
<tal:block tal:replace="version|nothing"/>\n
</div> \n
\n
<div class="popup_row" tal:condition="group">\n
<span class="popup_label" \n
<span class="popup_label group" \n
i18n:translate="" i18n:domain="ui">Group:</span>\n
<tal:block tal:replace="group|nothing"/>\n
</div>\n
\n
<div class="popup_row" tal:condition="project">\n
<span class="popup_label" \n
<span class="popup_label project" \n
i18n:translate="" i18n:domain="ui">Project:</span>\n
<tal:block tal:replace="project|nothing"/>\n
</div>\n
......
952
\ No newline at end of file
953
\ 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