Commit 8e9666db authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

add knowledge pad's group in gadget title div class.

parent 0e1b5bbd
No related merge requests found
......@@ -56,6 +56,7 @@
tal:define="box python: getattr(here, box_id);\n
box_relative_url box/getRelativeUrl;\n
box_dom_id python: \'%s\' %box_relative_url.replace(\'/\', \'_\');\n
box_class python: (\'%s %s\' % (\'block\', box.getGroup() or \'\')).strip;\n
view_form_dom_id python: \'%s_content\' %box_dom_id;\n
edit_form_dom_id python: \'%s_edit_form\' %box_dom_id;\n
gadget_title_dom_id python: \'%s_gadget_title\' %box_dom_id;\n
......@@ -71,13 +72,15 @@
\n
<!-- Render gadget as hidden one -->\n
<div tal:condition="not: is_gadget_visible"\n
tal:attributes="id box_dom_id"\n
tal:attributes="id box_dom_id;\n
class box_class"\n
class="block invisible-gadget"></div>\n
\n
<!-- Show only public gadgets -->\n
<div class="block" \n
tal:condition="is_gadget_visible"\n
tal:attributes="id box_dom_id">\n
tal:attributes="id box_dom_id;\n
class box_class">\n
\n
<h3 class="handle">\n
<span class="handle">\n
......
2012-06-25 Kazuhiko
* add knowledge pad's group in gadget title div class.
2011-09-26 Kazuhiko
* ERP5Site_getKnowledgePadListForUser should handle Unauthorized exception.
......
748
\ No newline at end of file
749
\ 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