Commit ff7670bf authored by Ivan Tyagov's avatar Ivan Tyagov

Use ID CSS selector for "Add gadgets" link.

git-svn-id: https://svn.erp5.org/repos/public/erp5/trunk@34464 20353a03-c40f-0410-a6d1-a30d3c3de9de
parent b0bc49f1
...@@ -78,8 +78,8 @@ ...@@ -78,8 +78,8 @@
<key> <string>bottom</string> </key> <key> <string>bottom</string> </key>
<value> <value>
<list> <list>
<string>listbox</string>
<string>your_active_pad_relative_url</string> <string>your_active_pad_relative_url</string>
<string>listbox</string>
</list> </list>
</value> </value>
</item> </item>
......
...@@ -65,15 +65,16 @@ ...@@ -65,15 +65,16 @@
</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:attributes="href python:\n tal:attributes="href python:\n
\'Base_viewGadgetListDialog?reset=1&cancel_url=%s&active_pad_relative_url=%s&mode=%s\'\n \'Base_viewGadgetListDialog?reset=1&cancel_url=%s&active_pad_relative_url=%s&mode=%s\'\n
%(cancel_url, \n %(cancel_url, \n
active_knowledge_pad.getRelativeUrl(), mode);"\n active_knowledge_pad.getRelativeUrl(), mode);"\n
title="Click to add portlets"\n title="Add gadgets"\n
i18n:translate="" \n i18n:translate="" \n
i18n:domain="ui"> Add gadgets</a>\n i18n:domain="ui"\n
id="add-gadgets"> Add gadgets</a>\n
</tal:block>\n </tal:block>\n
\n \n
<tal:block metal:define-macro="stick">\n <tal:block metal:define-macro="stick">\n
......
504 505
\ 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