Commit a7d70c09 authored by Ivan Tyagov's avatar Ivan Tyagov

In both ERP5 & Web (KM) mode "Add gadgets" link should have same CSS Id selector.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34556 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent 5a35cf4c
...@@ -65,14 +65,15 @@ ...@@ -65,14 +65,15 @@
</tal:block> \n </tal:block> \n
\n \n
<tal:block metal:define-macro="add_new_gadget">\n <tal:block metal:define-macro="add_new_gadget">\n
<a href="GadgetTool_viewPrettyGadgetList"\n <a href="Base_viewGadgetListDialog"\n
tal:condition="not: isKnowledgePadTemplateUsed"\n tal:condition="not: isKnowledgePadTemplateUsed"\n
tal:define="current_web_site python:request.get(\'current_web_site\', here);\n tal:define="current_web_site python:request.get(\'current_web_site\', here);\n
portal_path python:request.get(\'current_web_site_url\', current_web_site.absolute_url())"\n portal_path python:request.get(\'current_web_site_url\', current_web_site.absolute_url())"\n
tal:attributes="href python:\n tal:attributes="href python:\n
\'Base_viewGadgetListDialog?reset=1&cancel_url=%s&active_pad_relative_url=%s&mode=%s&editable_mode:int=%d\'\n \'Base_viewGadgetListDialog?reset=1&cancel_url=%s&active_pad_relative_url=%s&mode=%s&editable_mode:int=%d\'\n
%(cancel_url, active_knowledge_pad.getRelativeUrl(), mode, editable_mode);"\n %(cancel_url, active_knowledge_pad.getRelativeUrl(), mode, editable_mode);"\n
title="Click to add portlets"\n title="Add gadgets"\n
id="add-gadgets"\n
class="bt-small"> \n class="bt-small"> \n
<span i18n:translate="" i18n:domain="ui">\n <span i18n:translate="" i18n:domain="ui">\n
<img alt="+" src="km_img/icon-add.png"\n <img alt="+" src="km_img/icon-add.png"\n
......
1331 1332
\ No newline at end of file \ 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